[Pmwiki-users] Re: Action or form for creating a new page

Christian Ridderström chr
Tue Feb 3 07:16:06 CST 2004


On Tue, 3 Feb 2004, Christian Ridderstr?m wrote:

> Hi
> 
> While answering another post, I was reminded of when a wiki-newbie 
> told me that he couldn't figure out how to create a new page.
> 
> Maybe it'd be good to have a link called 'New page', that when you click 
> on it gives you a page with an edit form. But this edit page also lets 
> you specify the name of the page that will be created?

I'm guessing the implementation is really easy... just produce a page with 
this row:
  <input type='hidden' name='pagename' value='EmacsModes.Customization' />
changed into.
  <textarea name='pagename'>EmacsModes.Customization</textarea>

Actually, since this seems so easy I'll try it out here:

	http://www.lyx.org/~chr/demo/pmwiki.php?pagename=NewPage.NewPage

when you get this mail it might already be in place :-)

> Oh, and another thing about creating pages. A pretty useful thing are the 
> 'templates' in MoinMoin, i.e. you get to choose a template page before 
> you start creating your page. IIRC, the templates are simply any page 
> whose name matches 'Template*', e.g. TemplateHomepage.

Here's an example of what it looks like in MoinMon:
	http://moinmoin.wikiwikiweb.de/TotallyNewPage

(I wonder if the 'RamenRecipeTemplate' is serious...)

/Christian

-- 
Christian Ridderstr?m                           http://www.md.kth.se/~chr





More information about the pmwiki-users mailing list