ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Best Practices for Grouping Categories Where Parents Aren’t Really Categories

May 25, 2012 1:14pm

Subscribe [2]
  • #1 / May 25, 2012 1:14pm

    grovberg

    50 posts

    So I’d like to be able to group my categories together, but the names of the groups are not categories themselves. So for the project I’m working on now, I need to be able to categorize the posts based on the equipment used and the room the experiment takes place in, and then have ways to see all entries from a particular room or category in the navigation. So ideally:

    Equipment
    —Device One
    —Device Two
    Room
    —Room One
    —Room Two

    But you’d never pick “Equipment” itself as a category and I don’t want “Equipment” to be a link in the navigation. But as far as I can tell, any time I exclude the parent, the children are also excluded. The only workaround I can come up with is to just hard code the names of the categories into the navigation, but that will obviously make it a giant pain to add equipment in the future.

    So how do you guys handle this? I keep running into it and I’m never entirely satisfied with the solution. Any suggestions welcome.

  • #2 / May 26, 2012 5:09am

    Laisvunas

    879 posts

    Hi,

    Try Child Categories plugin. It has different tags for parent and child categories, so you will be able to display them differently.

  • #3 / May 29, 2012 12:07pm

    Dan Decker

    7338 posts

    Hi grovberg,

    As you’ve noticed, Categories can be a bit frustrating.

    Did Laisvunas suggestion of Child Categories get you what you were looking for?

    Cheers,

  • #4 / May 29, 2012 2:46pm

    grovberg

    50 posts

    Thanks for the help guys. I realize now that it wasn’t entirely clear that I wasn’t stuck and looking for a specific answer per se, but rather just trying start a conversation to see if there was a consensus “THE BEST WAY” to tackle that particular problem. FWIW, I’ve been solving it by using Low Replace to just remove the parent categories, but that just seem inelegant at best.

    Child Categories does look interesting though and I bookmarked it for the next time I run across this.

    Thanks to you both.

    PS I probably should have posted this in Community Help if I wanted a conversation, right? Sorry about that.

  • #5 / May 31, 2012 3:40pm

    Dan Decker

    7338 posts

    Hi grovberg,

    PS I probably should have posted this in Community Help if I wanted a conversation, right? Sorry about that.

    Hey, no worries! I’ll move it right on over there.

    Thanks!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases