Pagelist Template Samples


Here are samples of custom formats for (:pagelist:)

#forum

forum topics in table format

(:pagelist fmt=PagelistTemplateSamples#forum order=-time group=Main:)
Use this option if you want to track the same contents as the real RecentChanges and you want a quicker rendering. If you do not use this option, the pagelist directive will read every page in your group which may take some time. This may also provide different information for pages modified externally to pmwiki. In either case, some info on deleted pages will not match the real RecentChanges.
If you want to change the layout for RecentChanges for all your groups, you can create a group called RecentChanges and insert a pagelist in the GroupHeader. This pagelist would use the group={$Name} option. Thereafter, instead of looking at Foo.RecentChanges?, one would go to RecentChanges.Foo instead to see the custom RecentChanges.

#teasers

include the first five lines of every page preceded by and edit link for that page

[[#teasers]]
|| '''[[{=$FullName}]]''' - [[Edit -> {=$FullName}?action=edit]]||

(:include {=$FullName} lines=5:)

(:if ! equal {>$Group}:)
-----
(:if:) 
[[#teasersend]]
(:pagelist fmt=PagelistTemplateSamples#teasers group=Main count=3:)
Main.AboutThisSite - Edit

PmWiki is a WikiWikiWeb system developed by Patrick Michaud as a tool to support easy collaborative authoring and maintenance of web sites. PmWiki is freely available under the GNU General Public License (GPL). See the documentation index for more information.

This site is running pmwiki-2.2.127.


Main.GroupAttributes - Edit

Main.HomePage - Edit

Welcome to PmWiki!

A local copy of PmWiki's documentation has been installed along with the software,

Notes

  • This recipe requires at least PmWiki version: 2.1.beta15

Comments

See Also

Contributors


Category:

 0: 00.00 00.00 config start
 1: 00.00 00.00 config end
 2: 00.03 00.03 MarkupToHTML begin
 3: 00.03 00.03 MarkupToHTML begin
 4: 00.03 00.03 FPLTemplate: Chain begin
 5: 00.03 00.03 FPLTemplate: FPLTemplateLoad
 6: 00.03 00.03 FPLTemplate: FPLTemplateDefaults
 7: 00.03 00.03 FPLTemplate: FPLTemplatePageList
 8: 00.03 00.03 MakePageList pre
 9: 00.04 00.03 PageListSources begin
10: 00.04 00.03 PageStore::ls begin wiki.d/{$FullName}
11: 00.04 00.04 PageStore::ls merge wiki.d/{$FullName}
12: 00.05 00.04 PageStore::ls end wiki.d/{$FullName}
13: 00.05 00.04 PageStore::ls begin $FarmD/wikilib.d/{$FullName}
14: 00.05 00.04 PageStore::ls merge $FarmD/wikilib.d/{$FullName}
15: 00.05 00.04 PageStore::ls end $FarmD/wikilib.d/{$FullName}
16: 00.05 00.04 PageListSources end count=5
17: 00.05 00.04 PageListSort pre ret=6 order=-time
18: 00.05 00.04 MakePageList items count=5, filters=PageListSort
19: 00.05 00.04 MakePageList post count=5, readc=5
20: 00.05 00.04 PageListSort begin
21: 00.05 00.04 PageListSort sort
22: 00.05 00.04 PageListSort end
23: 00.05 00.04 MakePageList end
24: 00.05 00.04 FPLTemplate: FPLTemplatePmWikiOrg
25: 00.05 00.04 MarkupToHTML begin
26: 00.05 00.04 MarkupToHTML end
27: 00.05 00.04 FPLTemplate: FPLTemplateSliceList
28: 00.05 00.04 FPLTemplate: FPLTemplateFormat
29: 00.05 00.04 MarkupToHTML begin
30: 00.05 00.04 MarkupToHTML end
31: 00.05 00.04 FPLTemplate: FPLTemplatePmWikiOrgPostFormat
32: 00.05 00.04 FPLTemplate: Chain end
33: 00.05 00.04 MarkupToHTML end
34: 00.05 00.04 MarkupToHTML begin
35: 00.05 00.04 FPLTemplate: Chain begin
36: 00.05 00.04 FPLTemplate: FPLTemplateLoad
37: 00.05 00.04 FPLTemplate: FPLTemplateDefaults
38: 00.05 00.04 FPLTemplate: FPLTemplatePageList
39: 00.05 00.04 MakePageList pre
40: 00.05 00.04 PageListSources begin
41: 00.05 00.04 PageStore::ls begin wiki.d/{$FullName}
42: 00.06 00.05 PageStore::ls merge wiki.d/{$FullName}
43: 00.06 00.05 PageStore::ls end wiki.d/{$FullName}
44: 00.06 00.05 PageStore::ls begin $FarmD/wikilib.d/{$FullName}
45: 00.06 00.05 PageStore::ls merge $FarmD/wikilib.d/{$FullName}
46: 00.06 00.05 PageStore::ls end $FarmD/wikilib.d/{$FullName}
47: 00.06 00.05 PageListSources end count=5
48: 00.06 00.05 PageListSort pre ret=4 order=name
49: 00.06 00.05 MakePageList items count=5, filters=
50: 00.06 00.05 MakePageList post count=5, readc=0
51: 00.06 00.05 PageListSort begin
52: 00.06 00.05 PageListSort sort
53: 00.06 00.05 PageListSort end
54: 00.06 00.05 MakePageList end
55: 00.06 00.05 FPLTemplate: FPLTemplatePmWikiOrg
56: 00.06 00.05 MarkupToHTML begin
57: 00.06 00.05 MarkupToHTML end
58: 00.06 00.05 FPLTemplate: FPLTemplateSliceList
59: 00.06 00.05 FPLTemplate: FPLTemplateFormat
60: 00.06 00.05 MarkupToHTML begin
61: 00.07 00.06 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
62: 00.07 00.06 ReadApprovedUrls SiteAdmin.ApprovedUrls end
63: 00.12 00.10 MarkupToHTML end
64: 00.12 00.10 FPLTemplate: FPLTemplatePmWikiOrgPostFormat
65: 00.12 00.10 FPLTemplate: Chain end
66: 00.12 00.10 MarkupToHTML end
67: 00.14 00.12 MarkupToHTML end
68: 00.14 00.12 MarkupToHTML begin
69: 00.15 00.13 MarkupToHTML end
70: 00.15 00.13 MarkupToHTML begin
71: 00.16 00.14 MarkupToHTML end
72: 00.16 00.14 now
Peak memory: 4,043,984 bytes