[pmwiki-users] A Couple of Category Questions
Ian Barton
lists at manor-farm.org
Fri Dec 8 23:47:07 CST 2006
>
>> 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".
>
Thanks that does exactly what I needed.
Ian.
More information about the pmwiki-users
mailing list