Hide categories if no albums will be shown or the categories are empty Hide categories if no albums will be shown or the categories are empty
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Hide categories if no albums will be shown or the categories are empty

Started by AK_CCM, June 15, 2010, 07:25:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

AK_CCM

Is it a useful feature if the gallery hides empty categories or categories that appear empty due to the permissions of the albums?

Αndré

If we introduce a new config value, the admin can decide if this is a useful feature or not ;)

AK_CCM

That's really true.

Let me explain why I would like to have such a config value: I would like to store hires images for press people in an album. And only press people should have access to that album. If I adjust the rights of such an album normally users couldn't see the album but CPG shows the empty category e.g. press area. This would seem strange. And another categories with albums visible to all users aren't an option because the press album doesn't fit to the categories "Conferences" and "Contests".

What do you think about?