[pmwiki-users] Pagelist template for listing groups, with link to list pages
christian.ridderstrom at gmail.com
christian.ridderstrom at gmail.com
Tue Apr 11 03:16:52 CDT 2006
Here's a pagelist template I made that generates a list of all groups,
where each group also gets a link that you can use to get a list of pages
in that group.
Add to Site.PageListTemplates:
-----------------------------------------------
!!!fmt=#groupsWithLinkToListPages
A bullet list of groups, with a link for listing the pages in that group.
[@
[[#groupsWithLinkToListPages]]
(:if ! equal {=$Group} {<$Group}:)
* [[{=$Group}]] \
([[list pages -> {$Name}?action=search&q=group%3D{=$Group}]])
[[#groupsWithLinkToListPagesend]]
@]
----------------------------------------------
Then use it like this:
(:pagelist fmt=#groupWithLinkToListPages:)
This is very convenient for me, it sort of results in a way to browse the
existing pages.
I assume I should add this format to some page at pmwiki.org, which page?
regards
/Christian
--
Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
More information about the pmwiki-users
mailing list