|
Cookbook /
NewPageFormSummary: Adds a new page using a form
Version: 1.0.9
Prerequisites:
Status:
Maintainer: Laurent Meister kt007
GoalAdds a new page using a form. Solutionnewpageform.phpΔ With this script you can easily create a new page. Put the
(:newpageform:) string on a page and it will generate the form, which will help you to generate new pages. If the "group" field is left blank the new page will be created in "Main". To use this script, simply copy it into your cookbook/ subdirectory and then add the following line to your configuration file: include_once('cookbook/newpageform.php');
Using a dropdown boxThe default setting uses an inputbox for the groupname with the standard value "Main". Alternatively you can switch to a drop box. Follow those steps:
This is not really nice. Unfortunately I will only be able to make a revision of the script in January /February 2005. VersionActual Version is 1.0.9 ContributorLaurent Meister kt007 See also:Bugs & DiscussionThe script seems not to work with pmwiki 2 beta29. Doesn't work together with "Titledlinks." After installing this one, TitledLinks" gives only +++ -Han, 04/01/2004 Does it work with versions of pmwiki which have TitledLinks built in?
Doesn't work together with "AlternateNamingScheme". To make it work, you have to type the precise name of the page in the form ie "My_page_with_a_l33t_name" to make it works. Calling the "make pagename function" could make it a lot easierd ... - LeFourbissime 11/01/2005 Doesn't work with spaces in the Page Name -- Iram 01/12/05 When Edits are password protected, This doesn't work; after submitting a new page, the password is asked for, and then ... nothing. Neither the password is accepted, nor the page submitted. Han, 24 jan 2005 About this one, i also encountered the problem... if the pages are password protected, you have to login before you use the form. If anybody have a workaround, please tell me!
jmi: How do you get a form like Could this recipe be merged with: Cookbook.NewPageBox? - Martin Fick SandboxCategory: Forms
|