The category_list tag is a Single Tag which is used to produce a list of linked categories. Its context is page or column.
The category_list tag has the following syntactic structure…
<txp:category_list />
Tag will accept the following attributes (case-sensitive):
Return only specified category and its “children” categories.
Comma-separated list of categories to include, displayed in the order specified (unless overridden by sort attribute). Default is unset, leading to an unrestricted list of all categories.
List of category names which will be excluded from the list. categories takes precendence over exclude. Default is unset.
Available values: article, image, link, file. Default is article.
How to sort the resulting list. Available values: id, name, type, parent, title, rand() random. Default is name asc.
String to be prepended to the list. Default is unset.
Link to specified section. Default is unset, resulting in links without section restriction.
Link to currently active section (overrides section attribute). Default is 0 (no).
(X)HTML tag (without brackets) to wrap around label. Default is unset.
(X)HTML tag (without brackets) to wrap around list. Default is unset.
(X)HTML tag (without brackets) or string used to separate list items. Default is br.
(X)HTML class attribute to be applied to wraptag. Default is category_list.
(X)HTML class attribute to be applied to the “active” or current link in a list. Default is unset.
<txp:category_list label="Categories" wraptag="p" break="br" />
<txp:category_list break="li" wraptag="ul" />
Styles could go this way:
.category_list { list-style-type:none; }