Phoca Gallery Plugin, show all childs of 1 parent category

Phoca Gallery plugins - plugins for Phoca Gallery extension
cristtian
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 21 Jan 2014, 11:53

Phoca Gallery Plugin, show all childs of 1 parent category

Post by cristtian »

Hi everybody,

I have installed Phoca Gallery Plugin and Phoca Gallery Button Plugin and I have albums in this way:

Wednesday
├ 1/1/2014 (222 photos)
├ 8/1/2014 (214 photos)
...
└ 15/1/2014 (194 photos)
Thursday
├ 2/1/2014 (242 photos)
├ 9/1/2014 (241 photos)
...
└ 16/1/2014 (201 photos)
etc...

I would like that in an article appear all the albums of Thursday, for example, but it seems that it can't be possible and I don't know if I am doing something wrong!!

If I write:
{phocagallery view=categories|imagecategories=1|imagecategoriessize=5}
it shows all the albums, and I only want Thursday's.

If I write:
{phocagallery view=categories|imagecategories=1|imagecategoriessize=5|categoryid=5}
where 5 of categoryid is the id of Thursday, it shows nothing, only shows the album if a put de id of, for example the id of an specific day (album id 9 = 16/1/2014) ... but I have hundreds of ids and every week we add more, so I can't use the hidecategories.

Any solution to this?
Thanks in advance!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Gallery Plugin, show all childs of 1 parent catego

Post by Jan »

Hi, I think, for this you need to use component or write other plugin or customize the phoca gallery plugin :idea:

Jan
If you find Phoca extensions useful, please support the project
cristtian
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 21 Jan 2014, 11:53

Re: Phoca Gallery Plugin, show all childs of 1 parent catego

Post by cristtian »

Ok, so maybe a little hack in the code should work, any idea of where I have to start?
Post Reply