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:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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?