[pmwiki-users] "Add Page" Recipe?
David Spitzley
dspitzle at wash.k12.mi.us
Thu Mar 10 08:49:08 CST 2005
This looks like a promising solution, but I don't know into which file I
should insert the Markup statement. I've added it to my
local/config.php file, but when I enter (:createpage:) into a page, it
just displays (:createpage:) rather than the form.
David
>>> Nils Knappmeier <nk at knappi.org> 03/10/05 1:54 AM >>>
It might be useful to create pages without link, if you want to use
only
the (:pagelist:) markup to link to them.
Markup('createpage','directives','\(\:createpage\:\)','<form
action="$ScriptUrl"> <input type="text" name="n" value="NameOfThePage"
/> <input type="submit" name="submit" value="Create" /> </form>');
should create a markup (:createpage:) that resolves into a form
allowing
you to enter the page name and creating the page directly.
Since this is pretty static, you might be able to integrate the form
into the Skin directly as well.
More information about the pmwiki-users
mailing list