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

Kathryn Andersen kat_lists at katspace.homelinux.org
Wed Jan 24 18:52:22 CST 2007


On Wed, Jan 24, 2007 at 11:42:38AM +0000, Hans wrote:
> 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

Thanks!  This will be very useful.

Kathryn Andersen
-- 
 _--_|\     | Kathryn Andersen	<http://www.katspace.com>
/      \    | 
\_.--.*/    | GenFicCrit mailing list <http://www.katspace.com/gen_fic_crit/>
      v     | 
------------| Melbourne -> Victoria -> Australia -> Southern Hemisphere
Maranatha!  |	-> Earth -> Sol -> Milky Way Galaxy -> Universe




More information about the pmwiki-users mailing list