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


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 config start
 1: 00.01 00.01 config end
 2: 00.21 00.21 MarkupToHTML begin
 3: 00.21 00.21 MarkupToHTML begin
 4: 00.22 00.21 FPLTemplate: Chain begin
 5: 00.22 00.21 FPLTemplate: FPLTemplateLoad
 6: 00.22 00.21 FPLTemplate: FPLTemplateDefaults
 7: 00.22 00.21 FPLTemplate: FPLTemplatePageList
 8: 00.22 00.21 MakePageList pre
 9: 00.22 00.21 PageListSources begin
10: 00.22 00.21 PageStore::ls begin wiki.d/{$FullName}
11: 00.22 00.22 PageStore::ls merge wiki.d/{$FullName}
12: 00.23 00.22 PageStore::ls end wiki.d/{$FullName}
13: 00.23 00.22 PageStore::ls begin $FarmD/wikilib.d/{$FullName}
14: 00.23 00.22 PageStore::ls merge $FarmD/wikilib.d/{$FullName}
15: 00.23 00.22 PageStore::ls end $FarmD/wikilib.d/{$FullName}
16: 00.23 00.22 PageListSources end count=12
17: 00.23 00.22 PageListSort pre ret=6 order=-time
18: 00.23 00.22 MakePageList items count=12, filters=PageListSort
19: 00.23 00.22 MakePageList post count=12, readc=12
20: 00.23 00.22 PageListSort begin
21: 00.23 00.22 PageListSort sort
22: 00.23 00.22 PageListSort end
23: 00.23 00.22 MakePageList end
24: 00.23 00.22 FPLTemplate: FPLTemplatePmWikiOrg
25: 00.23 00.22 MarkupToHTML begin
26: 00.23 00.22 MarkupToHTML end
27: 00.23 00.22 FPLTemplate: FPLTemplateSliceList
28: 00.23 00.22 FPLTemplate: FPLTemplateFormat
29: 00.23 00.22 MarkupToHTML begin
30: 00.23 00.22 MarkupToHTML end
31: 00.23 00.22 FPLTemplate: FPLTemplatePmWikiOrgPostFormat
32: 00.23 00.22 FPLTemplate: Chain end
33: 00.23 00.22 MarkupToHTML end
34: 00.23 00.22 MarkupToHTML begin
35: 00.23 00.22 FPLTemplate: Chain begin
36: 00.23 00.22 FPLTemplate: FPLTemplateLoad
37: 00.23 00.22 FPLTemplate: FPLTemplateDefaults
38: 00.23 00.22 FPLTemplate: FPLTemplatePageList
39: 00.23 00.22 MakePageList pre
40: 00.23 00.22 PageListSources begin
41: 00.23 00.22 PageStore::ls begin wiki.d/{$FullName}
42: 00.24 00.23 PageStore::ls merge wiki.d/{$FullName}
43: 00.24 00.23 PageStore::ls end wiki.d/{$FullName}
44: 00.24 00.23 PageStore::ls begin $FarmD/wikilib.d/{$FullName}
45: 00.24 00.23 PageStore::ls merge $FarmD/wikilib.d/{$FullName}
46: 00.24 00.23 PageStore::ls end $FarmD/wikilib.d/{$FullName}
47: 00.24 00.23 PageListSources end count=12
48: 00.24 00.23 PageListSort pre ret=4 order=name
49: 00.24 00.23 MakePageList items count=12, filters=
50: 00.24 00.23 MakePageList post count=12, readc=0
51: 00.24 00.23 PageListSort begin
52: 00.24 00.23 PageListSort sort
53: 00.24 00.23 PageListSort end
54: 00.24 00.23 MakePageList end
55: 00.24 00.23 FPLTemplate: FPLTemplatePmWikiOrg
56: 00.24 00.23 MarkupToHTML begin
57: 00.24 00.23 MarkupToHTML end
58: 00.24 00.23 FPLTemplate: FPLTemplateSliceList
59: 00.24 00.23 FPLTemplate: FPLTemplateFormat
60: 00.24 00.23 MarkupToHTML begin
61: 00.25 00.24 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
62: 00.25 00.24 ReadApprovedUrls SiteAdmin.ApprovedUrls end
63: 00.29 00.28 MarkupToHTML end
64: 00.29 00.28 FPLTemplate: FPLTemplatePmWikiOrgPostFormat
65: 00.29 00.28 FPLTemplate: Chain end
66: 00.29 00.28 MarkupToHTML end
67: 00.31 00.29 MarkupToHTML end
68: 00.31 00.29 MarkupToHTML begin
69: 00.33 00.31 MarkupToHTML end
70: 00.33 00.31 MarkupToHTML begin
71: 00.33 00.31 MarkupToHTML end
72: 00.33 00.31 now
Peak memory: 4,758,816 bytes