[pmwiki-users] "Add Page" Recipe?
dspitzle at wash.k12.mi.us
Thu Mar 10 09:18:50 CST 2005
Ok, I inserted this into my local .tmpl file, and while the form
appears, it takes me to the PageNotFound page, which admittedly at least
provides a check on duplicate entries. Actually, that works pretty
well. Many thanks for the assist, Nils. I have to admit, I'm still
curious where the (:searchresults:) directive is stored, though; it
isn't in stdmarkup.php, where many of the other directives are defined.
>>> 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
the (:pagelist:) markup to link to them.
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
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