[pmwiki-users] Automatically create pages and groups?

Hsing-Foo Wang hsingfoo at gmail.com
Wed Aug 23 10:36:59 CDT 2006


I just had a play AutoGroupPages and it does what it says perfectly.
The only drawback (and showstopper for me to use it) is the fact that
it is being activated on ALL edits, whatever page. I want the function
only to be invocked when using a certain, or part of a specified
pagename and pagegroup.

It's related to the topic 'WikiForms linking into Wikiforms'


On 8/23/06, Hans <hans.bracker at googlemail.com> wrote:
> On 23/08/06, Hsing-Foo Wang <hsingfoo at gmail.com> wrote:
> > Yup, saw those too, thanks for the pointers.
> >
> > They would be perfect if no user interaction was required meaning I am
> > looking for a way to do something like:
> >
> > (:CreateNewPage $var1 $var2:)
> >
> > where $var1 and $var2 are the desired pagename and groupname
> If you don't want user interaction it might be better to do it just with php.
> What exactly shall the proposed markup achieve? By entering it onto a
> page and saving the page shall the new pages be created alongside?
> You can use Cookbook/AutoGroupPages for this in some way, configuring
> the script for the group(s) you need.
> ~Hans

More information about the pmwiki-users mailing list