Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-08-19 08:13:33

firefox
Member
Registered: 2008-08-06
Posts: 16

how to display all the parent categories and its children categories?

hello everyone,
when i used <txp:category_list exclude=“site-design,Website” this_section=“0” type=“image” wraptag=“ul” break=“li” section=“gallery”/>
to show my image categories, but these code display all the categories in one hierarchy, but i want to show the children categories under its parent category , so is there have any way to solve this problem? thanks very much!

Offline

#2 2008-08-19 08:32:34

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: how to display all the parent categories and its children categories?

There’s probably a plugin that can do this.

Offline

#3 2008-08-19 08:50:49

firefox
Member
Registered: 2008-08-06
Posts: 16

Re: how to display all the parent categories and its children categories?

Thanks. But it seems there didn’t have any plug-in can help me to solve this problem

Last edited by firefox (2008-08-19 08:51:28)

Offline

#4 2008-08-19 09:00:29

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: how to display all the parent categories and its children categories?

this one creates the category list as a tree (children as branches of the parent category).

Offline

Board footer

Powered by FluxBB