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.5.9.


Main.GroupAttributes - Edit

Main.HelloWorld - Edit

Hello World

Title

sub heading

another title?

Notes

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

Comments

See Also

Contributors


Category:

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