[pmwiki-users] giving a new page an automatic prefix/suffix

Hans design5 at softflow.co.uk
Wed Jan 24 05:42:38 CST 2007


Wednesday, January 24, 2007, 1:57:06 AM, Kathryn wrote:

> What is needed is to have a way of having a user give a new page name,
> to create a new page, but instead of creating the page that they give,
> the page name has a prefix (or a suffix).  For example, if the prefix
> was "Foo", then a new page which they entered as "NewPage" wouldn't be
> called "NewPage", it would be called "FooNewPage".

I updated newpageboxplus and added prefix= and suffix= as optional
parameters to the script (to be used the same as the other parameters
in the markup).
http://www.pmwiki.org/wiki/Cookbook/NewPageBoxPlus


Cheers,
Hans





More information about the pmwiki-users mailing list