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.

show children of a particular parent category?

August 30, 2011 5:12pm

Subscribe [1]
  • #1 / Aug 30, 2011 5:12pm

    meredithmarsh

    44 posts

    I have 3 parent categories, of which each has a few children. I’d like to display a list of just the children, of only a particular parent, not all parents. Is this possible?

  • #2 / Aug 30, 2011 5:18pm

    Carl W Crawley

    136 posts

    Have a look at http://ellislab.com/expressionengine/user-guide/modules/channel/categories.html#parameters - this should explain how you can get the children of a particular entry.

  • #3 / Aug 30, 2011 5:30pm

    meredithmarsh

    44 posts

    Thanks Carl! Didn’t even think about show=“not 1|2” etc. Is there a way then, to not show the parent when showing the children?

  • #4 / Sep 21, 2011 12:27pm

    meredithmarsh

    44 posts

    It looks like it’s not possible to do what I’m asking of EE here.

    http://flxapp.com/eat

    The top of the list is the parent cat, the rest of children. Is there no way to not show that parent cat at the top?

  • #5 / Sep 22, 2011 10:11am

    meredithmarsh

    44 posts

    I solved the problem by placing and id with the cat number on the item, and display:none’ing it.

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

ExpressionEngine News!

#eecms, #events, #releases