[pmwiki-users] page lists for dynamic menus

Hans design5 at softflow.co.uk
Fri Mar 21 08:36:18 CDT 2008


Friday, March 21, 2008, 12:53:33 PM, Marco Ferretti wrote:

> What I would like now is that the order of the groups stays the
> default one ( alphabetical ) and the current group is exploded . I
> guess I need a custom format ;  it would have to change the formatting
> if $Group is hit ... could someone tell me how to change the
> formatting and then set it back ? ( if possible )

perhaps a custom pagelist format like (untested):

[[#explgroup]]
(:template first {=$Group}:)
* [[{=$Group}/]]
(:if equal {*$Group} {=$Group}:)
(:template each:)
* [[{=$Group}/{=$Namespaced}]]
(:if:)
[[#explgroupend]]

(:pagelist fmt=#explgroup:)


  ~Hans




More information about the pmwiki-users mailing list