Page 1 of 1
How to hide empty folders in Phoca Download
Posted: 15 Jan 2014, 19:33
by dezinezone
How can I hide empty folders in Phoca Download like you can in Phoca Gallery?
Thank you
Re: How to hide empty folders in Phoca Download
Posted: 18 Jan 2014, 17:51
by Jan
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
Re: How to hide empty folders in Phoca Download
Posted: 18 Jan 2014, 17:56
by dezinezone
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.
Re: How to hide empty folders in Phoca Download
Posted: 18 Jan 2014, 19:47
by Jan
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.
Re: How to hide empty folders in Phoca Download
Posted: 18 Jan 2014, 20:56
by dezinezone
Thank you for your reply Jan