[pmwiki-users] WikiTrails and pagelists

Kathryn Andersen kat_lists at katspace.homelinux.org
Fri Apr 13 19:02:41 CDT 2007


On Fri, Apr 13, 2007 at 11:09:27PM +0100, Hans wrote:
> Friday, April 13, 2007, 10:57:33 PM, Patrick wrote:
> 
> >> [[#trailindex]]
> >> (:if equal {$FullName} {=$FullName}:)<< [[{<$FullName}|+]] |
> >> [[{=$FullName}|+]] | [[{>$FullName}|+]] >>(:if:)
> >> [[#trailindexend]]
> 
> > This is so incredibly useful and obvious (in hindsight) that I think
> > it ought to be in the core Site.PageListTemplates.
> 
> In the past there was a problem with this for the first and last page.
> Has this been resolved?

I found that this problem gets fixed if one explicitly uses the $Title
rather than the + markup:

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

Kathryn Andersen
-- 
 _--_|\     | Kathryn Andersen	<http://www.katspace.com>
/      \    | 
\_.--.*/    | GenFicCrit mailing list <http://www.katspace.com/gen_fic_crit/>
      v     | 
------------| Melbourne -> Victoria -> Australia -> Southern Hemisphere
Maranatha!  |	-> Earth -> Sol -> Milky Way Galaxy -> Universe



More information about the pmwiki-users mailing list