How filter the documents in phoca download

Phoca Download - download manager
tomifocus
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 09 Jun 2020, 12:24

How filter the documents in phoca download

Post by tomifocus » 24 Jun 2020, 14:45

Hi,

I have a website where official decisions needs to be displayed. I created a page for these .pdf files using phoca download.
By clicking on the "Decisions" menu I list those pdf files that belongs to the selected category.
However I need to filter these pdf fiiles further because our colleagues would like to use this page for their daily work.
For easier usage they need to filter these pdf documents by categories, tags. Do you know any solution for this?
Please let me know your suggestions. Thank you in advance.

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 42650
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How filter the documents in phoca download

Post by Jan » 25 Jun 2020, 12:01

Hi, in Phoca Download you can use categories or tags, but not categories and tags togehter.

If you nees some more advanced filter function, try to use Phoca Cart instead. It can like Phoca Download display files for download (public files) and the filtering is much advanced, see example:

https://www.phoca.cz/jtd/

Jan
If you find Phoca extensions useful, please support the project

tomifocus
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 09 Jun 2020, 12:24

Re: How filter the documents in phoca download

Post by tomifocus » 30 Jun 2020, 12:25

Hi Jan,

Thank you for your quick reply and hints.
Could you please send me more details about how can I use tags instead of categories?
My goal is to create menus which will open pages where I will display only those phoca download documents(pdfs) that was tagged by selected tags. For example Decisions will show only those documents where "decisions" tag was added at upload.
Please let me know how I can configure phoca download to filter the documents by tags instead of categories. Or where can I find the configuration guide for it.

Thanks and regards,
Tamas

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 42650
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How filter the documents in phoca download

Post by Jan » 04 Jul 2020, 13:28

Hi, when you filter a tag in Phoca Download, is has the same URL like category but it only gets the parameter &tag=1.

So,
- you can create tags in Phoca Download
- set that when clicking on tag the link goes to search outcome - in Phoca Download options:

Image

- then click on tag in category view (frontend), now you get the URL with tag:

Image

- just copy this url and paste in menu link to create a menu link to this tag. The link just has following format:

Code: Select all

phoca-download/category/tag?tagid=1
Jan
If you find Phoca extensions useful, please support the project

Post Reply