Advanced search  

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

Pages: [1]   Go Down

Author Topic: Hide categories if no albums will be shown or the categories are empty  (Read 4937 times)

0 Members and 1 Guest are viewing this topic.

AK_CCM

  • Coppermine regular visitor
  • **
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 63
  • Mushroom Hobby Photograph
    • Ent◊l◊ma.de – Rötlinge, Wiesenpilze und andere Schwammerln

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

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764

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

AK_CCM

  • Coppermine regular visitor
  • **
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 63
  • Mushroom Hobby Photograph
    • Ent◊l◊ma.de – Rötlinge, Wiesenpilze und andere Schwammerln

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?
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.