[pmwiki-users] A Couple of Category Questions

Hans design5 at softflow.co.uk
Thu Dec 7 09:31:23 CST 2006


Thursday, December 7, 2006, 11:21:21 AM, Hans wrote:

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

Well  am told it does not. But it can, from version 2.2.0beta11,
by adding this to config.php:

   $AutoCreate['/^Category\\./'] = array('ctime' => $Now);

From the release notes:

It's now possible [~PmWiki 2.2.0beta11] to configure PmWiki to
automatically create Category pages whenever a page is saved
with category links and the corresponding category doesn't
already exist. Pages are created only if the author has
appropriate write permissions into the group.

So in order to get a pagelist of all categories it may be good to
add this $AutoCreate variable, so any new categories created will
automatically appear as pages in group Category, and the pagelist
will show these.


Hans





More information about the pmwiki-users mailing list