Hi, I have read that in general this is advised against, but I was wondering what would I need to do to add plugin view so that I could display a tree structure. That is
Cat 1
Sub1
File 1
File 2
Sub2
etc
Cat2
etc
Thanks!
How to display list of files in category?
-
- Phoca Newbie
- Posts: 7
- Joined: 07 Nov 2014, 16:33
- Jan
- Phoca Hero
- Posts: 48566
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: How to display list of files in category?
Hi, for this, you need to customize the code directly in html/php or override Phoca Download views by template (but not sure if this will be possible)
- in fact you need to change the model - to load all the categories and images (be aware this can be security issue - slow down the server, ...)
- then - listin of all categories is displayed as normal
- and you need to load for all the categories the files which are assigned to each category.
Jan
- in fact you need to change the model - to load all the categories and images (be aware this can be security issue - slow down the server, ...)
- then - listin of all categories is displayed as normal
- and you need to load for all the categories the files which are assigned to each category.
Jan
If you find Phoca extensions useful, please support the project