Phoca Gallery Pluggin with Button (Hidden Categories)

Phoca Gallery plugins - plugins for Phoca Gallery extension
Eclat2k
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 17 Jul 2012, 10:09

Phoca Gallery Pluggin with Button (Hidden Categories)

Post by Eclat2k »

I installed this button for one customet, but the use is little rare.

If I want to show a Category, I need to specify the categories that I want hide instead of the category that I want show.

This is a problem because If I have an article where I want to show category1 and hide category2, 3, 4... and tomorrow I add category5, I need to go to all articles and say that this category also must hide.

Is not possible write directly the category that I want show?

In this moment the code is this:

{phocagallery view=categories|imagecategories=1|imagecategoriessize=0|hidecategories=1,3,4|detail=3}

Could you help me?

Thank you very much :D
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48536
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Gallery Pluggin with Button (Hidden Categories)

Post by Jan »

Hi, yes, there is only hide parameter, so the show needs to be customized.

Jan
If you find Phoca extensions useful, please support the project
chae
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 16 Nov 2012, 05:10

Re: Phoca Gallery Pluggin with Button (Hidden Categories)

Post by chae »

Hi Yah,
I have the same issue as Eclat2k : wouldn't it be more logical to have the plugin button show the category/ies you want to display rather than hiding?
We have a customer who has hundreds of different categories & sub-categories & it is always changing, simply having the category/ies listed as showing would be easier & less maintenance than having to list all those they need to hide.
Can the plugin code be modified to do that?


Thanks in advance

Chae
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48536
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Gallery Pluggin with Button (Hidden Categories)

Post by Jan »

Hi, it is not so easy to use the "show parameter" as the categories are displayed in tree (so this can take effect only for parent categories and does not take effect for subcategories and this can be problem as such then confuse users in case, the rule is not applied everywhere)

Anyway addded to feature request list. For now you need to customize in the code :-(

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