[pmwiki-users] WikiTrails and pagelists

Roman romat2 at gmail.com
Fri Apr 6 15:20:57 CDT 2007


On 4/6/07, Christophe David <pmwiki at christophedavid.org> wrote:
> Could somebody please tell me if  the list needed to create a wikitrail can
> be generated by a pagelist ?
>
> I tried the following and all variants I could think of, without success.
> When I create the index list manually, everythings works fine.
>
> - Define a wikitrail in a group footer with <|[[IndexPage|index]]|>
> - In IndexPage,  (:pagelist group=MyGroup fmt=#TrailIndex:)
> - In Site.LocalTemplates:
>
> [[#TrailIndex]]
> *[[{=$Group}.{=$Name}]]
> [[#TrailIndexend]]
>
> I am expecting too much or is the syntax incorrect ?

I am not sure whether page wikitrail can read dynamically created
ordered list. I would define template this way:

[[#trailindex]]
(:if equal {$FullName} {=$FullName}:)<< [[{<$FullName}|+]] |
[[{=$FullName}|+]] | [[{>$FullName}|+]] >>(:if:)
[[#trailindexend]]

And then put (:pagelist group=MyGroup fmt=#TrailIndex:) directly to GroupFooter.

Roman



More information about the pmwiki-users mailing list