Hide Subsubcategory when hiding Subcategory in GalleryPlugin

Phoca Gallery plugins - plugins for Phoca Gallery extension
MeJebus
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 06 Mar 2015, 12:32

Hide Subsubcategory when hiding Subcategory in GalleryPlugin

Post by MeJebus »

Dear Phoca

I'm trying to display my setup of categories in Phoca with the Phoca Gallery Plugin. My setup is as follows:
  • Rootcategory: Restaurations
    • Subcategory: Restorations in Progress
      • 5 SubSubcategories
    • Subcategory: Finished Restorations
      • 30+ SubSubcategories
How can I hide the SubSubcategories when hiding the Subcategory: Finished Restorations. So everything under the hidden Category gets hidden as well.
Here is my code for now, but this only hides the Subcategory: Finished Restorations and not the rest.
"phocagallery view=categories|imagecategories=1|imagecategoriessize=1|hidecategories=5"

Hopefully to get a solution.

Kind regards,
Maarten.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48041
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Hide Subsubcategory when hiding Subcategory in GalleryPl

Post by Jan »

Hi, yes, in plugin you can hide the category per this parameter and it is only set for the selected category, you need to set the number for all the categories (even they are subcategories) :idea:

Jan
If you find Phoca extensions useful, please support the project
Post Reply