[pmwiki-users] Cleaning local config - Category enabling

The Editor editor at fast.st
Tue Oct 31 17:18:14 CST 2006


On 10/31/06, Jiri <mail at revida.sk> wrote:
> A long time ago it was necessary to add into the local config
> the following:
>
> # Category enabling
> SDV($CategoryGroup,'Category');
> Markup('[[!','<links','/\[\[!([^\|\]] ?)\]\]/',
>   "<span class='category'>[[$CategoryGroup/$1]]</span>");
>
> Is it still necessary in v.2.2.0-beta15 ?

Don't think this is needed.  I don't have it in my code and the
categories seem to work fine.

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

It allows pages to be automatically be created when a category link is
added to a page, if the page doesn't already exist.  Useful for making
pagelists in the category group, etc.

Cheers,
Caveman




More information about the pmwiki-users mailing list