Page 1 of 1

show only 1st level of subcategories

Posted: 08 Apr 2010, 18:26
by X_Ch4n
Hi all,
i'm using 2.6.2 ver of Phoca gallery, it's a great job :wink: .
I've a little problem: can i show only the 1st level of subcategories in categories view or category view?

This is my actual structure:

Main category
|
|---- subcategory1
| |---- subcategory1-1
| | |---- some photos
| |---- subcategory1-2
| |---- some photos
|---- subcategory2
| |---- subcategory2-1
|---- subcategory3

I created a "categories list layout" menu to point at "main category". When i go to this menu, it show all subcategories (subcategory1, subcategory1-1, subcategory1-2 ecc....).
Is there a way to show only the first level (subcategory1, subcategory2, subcategory3)?

Thanks.

Nando

p.s. sorry for my bad english. :)

Re: show only 1st level of subcategories

Posted: 09 Apr 2010, 18:51
by Benno
Hi,
you can hide the category or subcategory which you don`t want to display.
In Phoca Gallery Parameters --> Global Configuration --> Categories View Settings (List of Categories) --> Hide Categories (by ID)
Hope this helps.
Kind regards,
Benno

Re: show only 1st level of subcategories

Posted: 11 Apr 2010, 17:22
by X_Ch4n
It's a good system but when the user create another category, i have to manually hide from phoca admin. Is there a way to automatically hide categories beyond the first level?

Re: show only 1st level of subcategories

Posted: 11 Apr 2010, 21:18
by Benno
Hi,
It's a good system but when the user create another category, i have to manually hide from phoca admin. Is there a way to automatically hide categories beyond the first level?
as far as I know, there is no way to automatically hide categories beyond the first level. :idea:
But you can make a feature request to Jan Pavelca the developer of all this Phoca extensions.
http://phoca.uservoice.com/forums/12720 ... rvoice.com
Kind regards,
Benno

Re: show only 1st level of subcategories

Posted: 12 Apr 2010, 09:43
by X_Ch4n
Ok, i'll post in the feature request. In the while i'm using the hide categories function that you suggest me.

Thanks a lot. :)

Nando

Re: show only 1st level of subcategories

Posted: 12 Apr 2010, 15:47
by Benno
Hi,
you`re welcome!
Kind regards,
Benno