[pmwiki-users] happy trails to you ...

Hans design at softflow.co.uk
Mon Mar 20 17:47:11 CST 2006

Monday, March 20, 2006, 10:01:29 PM, Neil wrote:
> Is it possible to create a trail from a page with a pagelist on it? 
> In particular, I have a pagelist on Profiles.Profiles that lists all
> the authors. I tried forming a trail using <<|[[Profiles]]|>>, but it
> does not work. Any hints? In essence, I want a self-maintaining trail
> that goes through all of the pages in one group.

Here are two dynamic trails constructed with pagelist:

Add to Site.PageListTemplates (beware of email wrapping lines):

for dynamic trail of form prev.Name | Group | next.Name
(:if equal {$FullName} {=$FullName}:)[[{<$FullName}|+]] | [[{$Group}]] | [[{>$FullName}|+]](:if:)

for dynamic trail of form <<prev | Group | next>>
(:if equal {$FullName} {=$FullName}:)[[{<$FullName}| &laquo; prev ]] | [[{$Group}]] | [[{>$FullName}| next &raquo; ]](:if:)

and add to GroupHeader or GroupFooter:

(:pagelist group={$Group} fmt=#grouptrail :)
(:pagelist group={$Group} fmt=#grouptrail2 :)

The trail has a link to the Group homepage
(Group.Group or Group.HomePage), but it does not rely on what is on
    and happy dynamic trails to you!


More information about the pmwiki-users mailing list