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?
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
August 30, 2011 5:12pm
Subscribe [1]#1 / Aug 30, 2011 5:12pm
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
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
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
It looks like it’s not possible to do what I’m asking of EE here.
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
I solved the problem by placing and id with the cat number on the item, and display:none’ing it.