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