hi list
Is $AutoCreate supost to work also in groupheader or only in the page
itself?

I try to autocreate Categories. As long as the category link is in the
page it works, but it don't work if I put it in the groupheader as shown
below. Anyone an idea what to do?


example (simplyfied):

---groupheader----------------------
[[!{$:Category}]]


---page-----------------------------
(:Category: NewCategory:)


---config.php
$page = ReadPage('ContentTemplates.Category', READPAGE_CURRENT);
$AutoCreate['/^Category\./'] = array(
        'ctime' => $Now,
        'text' => $page['text']
        );


grz nos

_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to