[pmwiki-users] pagelist of groups home pages w. title

Patrick R. Michaud pmichaud at pobox.com
Fri Feb 24 07:53:27 CST 2006


On Fri, Feb 24, 2006 at 02:19:39PM +0100, OBUTEX / Hladůvka wrote:
> How can I get the pagelist of groups Homepages but their titles ?
> 
> (:pagelist fmt=bygroup name={$Group} order=title:)
> shows only current Group.Group page name
> but I need to get all Group.Group or Group.HomePage titles

You probably need a custom list= option to get this to work:

    $SearchPatterns['groups'] = "/^([^.]+)\\.($1|$DefaultName)$/";

This says that "list=groups" will grab only the group homepages.
Then the following pagelist directive will work:

    (:pagelist fmt=#title list=groups order=title:)

See, for example, http://www.pmwiki.org/wiki/Test/GroupTitles .

Pm




More information about the pmwiki-users mailing list