show only 1st level of subcategories

Phoca Gallery - image gallery extension
X_Ch4n
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 16 Sep 2008, 13:51

show only 1st level of subcategories

Post 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. :)
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 10081
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: show only 1st level of subcategories

Post 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
X_Ch4n
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 16 Sep 2008, 13:51

Re: show only 1st level of subcategories

Post 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?
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 10081
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: show only 1st level of subcategories

Post 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
X_Ch4n
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 16 Sep 2008, 13:51

Re: show only 1st level of subcategories

Post 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
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 10081
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: show only 1st level of subcategories

Post by Benno »

Hi,
you`re welcome!
Kind regards,
Benno
Post Reply