Search results links to category not the files

Phoca Download - download manager
pinarayi
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 16 Apr 2012, 19:28

Search results links to category not the files

Post by pinarayi »

I had installed phoca download in my site and works fine.

url is http://cgrf.kseb.in

There are many files in download section. When ever I search for a file, it is listed properly in search results. But the link is pointing towards category and not the file.

For example

if I search for hospital, file name and description appears properly. But search result links to the category (http://cgrf.kseb.in/index.php/latest-orders-ktk) instead of the file itself (http://cgrf.kseb.in/index.php/latest-or ... o-650-2011)

So search is not at all useful for visitors, as they have to manually find out the needed files from all files in that category manually.

Note
1. Joomla native SEF is enabled
2. Display file view is enabled in phoca download options


Please advise how to solve this problem??
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48595
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Search results links to category not the files

Post by Jan »

Hi, then you need to customize the search plugin, as not on all sites, the detail window is used (file view), so it is universally set to category view as default value.

Jan
If you find Phoca extensions useful, please support the project
art4life44
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 29 Sep 2010, 15:42

Re: Search results links to category not the files

Post by art4life44 »

I have the same question. I'm using Phoca Download on my site
But if you search for a specific product PDF (for example: "SP2998-1") my search will find the file, but when you click on the link it takes you to a page that displays the entire category. Is there a way to make the search result link directly to the PDF file instead?

Thank you!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48595
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Search results links to category not the files

Post by Jan »

Hi, see similar posts where this is explained. As default, no file view is used, so there is no area where to link, this is why the search plugin links to category view as default there is no file view - to display file view, it needs to be customized.

Jan
If you find Phoca extensions useful, please support the project
art4life44
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 29 Sep 2010, 15:42

Re: Search results links to category not the files

Post by art4life44 »

HI Jan,

Thanks for your reply. I did try to search for similar topics but couldn't find any with a solution. So are you saying this can't be done? Or do you know how I can customize this? Thank you very much!

Also maybe someone knows of another Search module that may allow this? Or some sort of way to index the PDFs in my Joomla search?? Thanks!
art4life44
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 29 Sep 2010, 15:42

Re: Search results links to category not the files

Post by art4life44 »

OK after a little more investigation I downloaded this finder component, set my search to "smart search", re-indexed the site and voila! This works great!

https://www.phoca.cz/documents/73-phoca- ... der-plugin
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48595
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Search results links to category not the files

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply