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.

Displaying Sub Categories

January 28, 2010 2:12pm

Subscribe [1]
  • #1 / Jan 28, 2010 2:12pm

    CI Simon

    18 posts

    I’ve been trying to work this out all day. I would like to display all sub categories from a particular category as an unordered list.

    I was hoping for a parameter start=“5” so I could do something like this.

    {exp:channel:categories channel="politics" style="nested" start="5" }
         <a href="http://{path=SITE_INDEX}">{category_name}</a>
    {/exp:channel:categories}

    There seem to be one or two plugins that allow this but haven’t found anything that appears compatible with v2 yet.

    I’m new to ExpressionEngine so possibly this is really simple and I’ve missed something.

    Thanks.

  • #2 / Feb 17, 2010 12:49pm

    daulex

    152 posts

    I’m in the same boat, I believe it’s insane that there is no way to show children of or just show a single sub category name out of the box in expression engine.

    I’m completely stuck as I cant use the query module to do this (custom category fields won’t be displayed as there’s no way to reach them) and there are no plugins that can get the specified category’s custom field.

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

ExpressionEngine News!

#eecms, #events, #releases