]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - pgsrc/Help%2FWikiBlogPlugin
Whitespace
[SourceForge/phpwiki.git] / pgsrc / Help%2FWikiBlogPlugin
1 Date: Mon,  8 Jul 2013 17:58:18 +0000
2 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0)
3 Content-Type: application/x-phpwiki;
4   pagename=Help%2FWikiBlogPlugin;
5   flags=PAGE_LOCKED%2CEXTERNAL_PAGE;
6   charset=UTF-8
7 Content-Transfer-Encoding: binary
8
9 This simple [[Help:WikiPlugin|plugin]] allows blog-style entries on a page. Try making a few entries, and then look at [[RecentChanges]] to get an idea of how things work.
10
11 This plugin shows 'blogs' (comments/news) associated with a
12 particular page and provides an input form for adding a new blog.
13
14 == Arguments ==
15
16 {| class="bordered"
17 |-
18 ! Argument
19 ! Description
20 ! Default value
21 |-
22 | **page**
23 | page which is blogged to
24 | Current page
25 |-
26 | **order**
27 |
28 * 'normal' - place in chronological order
29 * 'reverse' - place in reverse chronological order
30 | normal
31 |-
32 | **mode**
33 |
34 * 'show' - only show old blogs
35 * 'add' - only show entry box for new blog
36 * 'show,add' - show old blogs then entry box
37 * 'add,show' - show entry box followed by old blogs
38 | show,add
39 |}
40
41 == Usage ==
42
43 Add {{{<<WikiBlog>>}}} at your ~PersonalPage and BlogArchives and
44 BlogJournal will find the Blog entries automatically.
45
46 Now it is also the base class for all attachable pagetypes:
47 "wikiblog", "comment" and "wikiforum"
48
49 == Hints/comments ==
50
51 To have the blog show up on a separate page:
52
53 On ~TopPage, use {{{<<WikiBlog mode=add>>}}}
54 Create ~TopPage/Blog with this page as actionpage:
55 {{{<<WikiBlog pagename=TopPage mode=show>>}}}
56
57 To have the main ADMIN_USER Blog appear under Blog and not under WikiBlog/Blog
58 or ~UserName/Blog as for other users blogs,
59 define BLOG_DEFAULT_EMPTY_PREFIX=true
60 use the page Blog as basepage
61 and user="" (as default for ADMIN or current user) and pagename="Blog"
62 in the various blog plugins (BlogArchives, BlogJournal)
63
64 == Example ==
65
66 <<WikiBlog>>
67
68 == Author ==
69 * Michael Van Dam, major refactor by [[Help:Jeff Dairiki|Jeff Dairiki]] (as ~AddComment)
70 * Changed as baseclass to ~AddComment and ~WikiForum and ~EditToolbar integration by [[Help:Reini Urban|Reini Urban]].
71
72
73 == See Also ==
74 * [[Help:BlogJournalPlugin]]
75 * [[Help:BlogArchivesPlugin]]
76
77 <noinclude>
78 ----
79 [[PhpWikiDocumentation]] [[CategoryWikiPlugin]]
80 </noinclude>