How can I hide empty folders in Phoca Download like you can in Phoca Gallery?
Thank you
How to hide empty folders in Phoca Download
-
dezinezone
- Phoca Newbie

- Posts: 8
- Joined: 04 Nov 2013, 12:46
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: How to hide empty folders in Phoca Download
Hi, for this, you need to customize the sql query in model of categories or category view (depends on where you need to have such feature)
components/com_phocadownload/models/category.php
components/com_phocadownload/models/categories.php
Jan
components/com_phocadownload/models/category.php
components/com_phocadownload/models/categories.php
Jan
If you find Phoca extensions useful, please support the project
-
dezinezone
- Phoca Newbie

- Posts: 8
- Joined: 04 Nov 2013, 12:46
Re: How to hide empty folders in Phoca Download
Thank you Jan I will see If I can figure out what to do. Can I ask why that feature isn't in Phoca Download like it is in Phoca Gallery? And by the way, Thank you for your reply I know you have a million replys to make in these forums.
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: How to hide empty folders in Phoca Download
Hi, in fact this feature was not asked by users (why to have empty categories? If a category is empty, then it should be unpublished, etc.) So this is why it was not set in Phoca Download.
If you find Phoca extensions useful, please support the project
-
dezinezone
- Phoca Newbie

- Posts: 8
- Joined: 04 Nov 2013, 12:46
Re: How to hide empty folders in Phoca Download
Thank you for your reply Jan