Jump to content

Categories & subcategories


hafa
 Share

Recommended Posts

HI Rafael,

PageFields :). Beyond that, it depends. Are those categories related to each other or to other things? What's the relationship between "disciplines", "locations" and "themes"? As for the numbers, those look to me like counts of items found in each category? Can items belong to more than one category? Scalability? Those are the questions that need answering before any concrete response can be elicited. Please see the following related posts:

http://processwire.com/talk/topic/3579-tutorial-approaches-to-categorising-site-content/

http://processwire.com/talk/topic/4116-best-way-to-structure-a-classifieds-site/

  • Like 1
Link to comment
Share on other sites

As kongondo stated, PageFields are the way to go, they are very flexible.

It looks like your subcategories are unique in each main category so you could build them in a page tree

Categories

- Disciplines

- - Advertising

- - Architecture

- - ...

- Locations

- - Budapest

- - Glasgow

- - ...

- Themes

- - Animals

- - Automotive

- - ...

If you want you subcats to be able to have multiple parents/maincats you might want to add the subcats via ASM select (an option for PageFields) in the maincat template rather than as child pages.

As for how to be able to select the categories when using them here are some examples:


and


  • Like 3
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...