On 4/6/07, Christophe David <[EMAIL PROTECTED]> 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

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to