Hierarchical view of Categories and sub-categories

Phoca Gallery - image gallery extension
scubabyss
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 20 Apr 2011, 14:52

Hierarchical view of Categories and sub-categories

Post by scubabyss »

Hi,

I have set categories and subcategories. The list of category menu shows all subcategories as a flat structure.

I have not found in the option or in the documentation how to display, with that list of category menu the categories in a hierarchical structure.

What I would like would be :
  • Display a list of the root parent category.
    After click on one category, display the child categories and the images that are directly assigne to the parent category
    And so on if the are other child categories below the child category.
Is that possible and how ?

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

Re: Hierarchical view of Categories and sub-categories

Post by Jan »

Hi, see similar posts in this forum, the problem of this view can be memory problem - to load all the categories on one site (including the subcategories), so this needs to be customized:

- all categories will be loaded and with help of javascript some of them will be hidden/displayed
- or ajax for loading subcategories items should be used :idea:

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