[pmwiki-users] Pagelist template for listing groups, with link to list pages
Martin Fick
mogulguy at yahoo.com
Tue Apr 11 10:54:10 CDT 2006
http://pmwiki.org/wiki/Cookbook/PagelistTemplateSamples
--- christian.ridderstrom at gmail.com wrote:
> 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
>
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
>
http://host.pmichaud.com/mailman/listinfo/pmwiki-users
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the pmwiki-users
mailing list