[pmwiki-users] A Couple of Category Questions

Hans design5 at softflow.co.uk
Thu Dec 7 05:21:21 CST 2006


Thursday, December 7, 2006, 10:20:19 AM, Ian wrote:

> Is there any way to list all the categories defined in a wiki?

Categories are essentially pages in a group called 'Category'.
(you can redefine the name in config.php like

     $CategoryGroup = 'MyCategoryName';

A link to a category page can be written as [[!SomeCategory]], which
is essentially the same as [[$CategoryGroup/SomeCategory]]

So to list all your categories you can use pagelist:

(:pagelist group=Category list=normal fmt=title:)

To put that into Category/Category will give you an index of
categories on the group's "home page".

And I think that pmwiki now creates the pages for categories
automatically. Or not?

See more: http://www.pmwiki.org/wiki/PmWiki/Categories


Hans





More information about the pmwiki-users mailing list