]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - pgsrc/CreatePagePlugin
added PhpWikiDocumentation footers
[SourceForge/phpwiki.git] / pgsrc / CreatePagePlugin
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 $";
7   flags="";
8   markup=2;
9   charset=iso-8859-1
10 Content-Transfer-Encoding: binary
11
12 WikiPlugin to easily create new pages, optionally with default content. Since v1.3.8
13
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 
16 some template.
17
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.
20
21 !! Usage
22 <verbatim>
23      <?plugin-form CreatePage ?>
24      <?plugin-form CreatePage template=CategoryHomePage ?>
25 </verbatim>
26
27 !! Plugin Arguments
28 __s__: |
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: ""
32 __template__:  |
33   The new page will be pre-filled with the content of this page. Default: ""
34
35 !! Known Problems
36
37 None
38
39 !! Plans
40
41 The content might hold some variables, which will be expanded on creation. 
42 The syntax is not clear yet.
43
44 !! Author
45
46 Dan Frankowski
47
48 !! Examples
49
50 <?plugin-form CreatePage s=MyHomePage ?>
51
52 See also PhpWiki:EasilyCreateNewPages
53
54
55 -------------
56
57 PhpWikiDocumentation WikiPlugin