Im the admin of a website with a PDF archive.
The category overview with the descriptions of the download files must be publicly available. The download itself is only allowed to registered users (defined by: Maximum number of downloads per file = 10)
When I put the Phoca Download Search plugin on "Category View", I get all the search results from the descriptions, but the URLs of the results are all identical and lead back up to the archive page. Example: domainname/archive.
But you should lead to the respective anchor points on this page, eg. B .: domainname/archive#folder38 or domainname/archive#folder39 etc.
These anchor points lead to the respective integrated ("Regularlabs-") sliders, which expand the description text.
If I set the Phoca Download Search Plugin to "File View", I see that the links actually lead directly to the respective download file. Unfortunately, I always get the message: "PDF ## file: No rights to access this category available".
It does not matter if I am NOT REGISTERED or registered as a SUPERUSER.
I do not understand that. At least the superuser must have ALL rights - I think!
My question:
WHAT do I have to change / overwrite WHERE, so that the desired result URLs with the anchor points ... archiv # heft40 ... do appear? I would also take the trouble of making a manual change, because there are only two issues a year in this archive. In the meantime nothing changes and the search results are always identical.
Kind regards
fori
Phoca Download Search Plugin: Change of result-URLs
-
- Phoca Member
- Posts: 24
- Joined: 02 Mar 2012, 13:10
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca Download Search Plugin: Change of result-URLs
Hi, when you get access rights error, check all the access rights:
- of the menu link
- of the category (access- groups, access rights - users)
- if the file (groups)
Is File View enabled?

The link in search outputs are rendered here:
plugins\search\phocadownload\phocadownload.php
on line cca 286 and they call the router functions:
administrator/components/com_phocadownload/libraries/phocadownload/path/route.php
Jan
- of the menu link
- of the category (access- groups, access rights - users)
- if the file (groups)
Is File View enabled?

The link in search outputs are rendered here:
plugins\search\phocadownload\phocadownload.php
on line cca 286 and they call the router functions:
administrator/components/com_phocadownload/libraries/phocadownload/path/route.php
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 24
- Joined: 02 Mar 2012, 13:10
Re: Phoca Download Search Plugin: Change of result-URLs
Hello Jan,
you got me! The file view was of course not activated - but very consciously, because I originally did not want that you have to click twice to get the download.
Now it is so, because only so the search and find function works properly. Now I do not have to tinker with the URLs because every file has a page of its own.
Thank you very much for the help.
fori
(My second thread is also done with it!)
you got me! The file view was of course not activated - but very consciously, because I originally did not want that you have to click twice to get the download.
Now it is so, because only so the search and find function works properly. Now I do not have to tinker with the URLs because every file has a page of its own.
Thank you very much for the help.
fori
(My second thread is also done with it!)
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca Download Search Plugin: Change of result-URLs
Ok, great to hear it.
Jan
Jan
If you find Phoca extensions useful, please support the project