1 Date: Sat, 13 Mar 2004 11:26:41 +0100
2 Mime-Version: 1.0 (Produced by PhpWiki 1.3.8)
3 X-Rcs-Id: $Id: CreatePagePlugin,v 1.2 2004-07-04 08:41:39 rurban Exp $
4 Content-Type: application/x-phpwiki;
5 pagename=CreatePagePlugin;
6 pgsrc_version="2 $Revision: 1.2 $";
10 Content-Transfer-Encoding: binary
12 WikiPlugin to easily create new pages, optionally with default content. Since v1.3.8
14 This allows you to create a page geting the new pagename from a
15 forms-based interface, and optionally with the initial content from
18 Put a "<~?plugin-form ~CreatePage ?~>" at some page, browse this page,
19 enter the name of the page to create, then click the button.
23 <?plugin-form CreatePage ?>
24 <?plugin-form CreatePage template=CategoryHomePage ?>
29 The pagename, which will passed to the plugin. Default: ""
30 __initial_content__: |
31 The new page will be pre-filled with this content. Default: ""
33 The new page will be pre-filled with the content of this page. Default: ""
41 The content might hold some variables, which will be expanded on creation.
42 The syntax is not clear yet.
50 <?plugin-form CreatePage s=MyHomePage ?>
52 See also PhpWiki:EasilyCreateNewPages
57 PhpWikiDocumentation WikiPlugin