[pmwiki-users] Pagelist BUG - was Re: Getting the trail page from ...

Martin Fick fick at fgm.com
Fri Jan 6 11:44:12 CST 2006


> I am close, but a few glitches:
....
> 1) ....
> 
>     [[#trail]]
>     (:if equal {>$FullName} {$FullName}:)<< [[{=$FullName}]] (:if:)
>     (:if equal {=$FullName} {$FullName}:)| [[{$Trail}]] |(:if:)
>     (:if equal {<$FullName} {$FullName}:) [[{=$FullName}]] >>(:if:)
>     [[#trailend]]
> 
...
> 
> 2) ....


Hmm, now the last two issues I considered feature requests,
but this one I think is a bug.

Attempting to unify things a little further, I tried this
on the same page:

[[#trail]]
(:if equal {>$FullName} {$FullName}:)<< [[{=$Title}->{=$FullName}]] (:if equal {=$FullName} {$FullName}:)| [[{Cookbook.Cookbook$Title}->Cookbook.Cookbook]] |(:if equal {<$FullName} {$FullName}:) [[{=$Title}->{=$FullName}]] >>(:if:)
[[#trailend]]


(:pagelist fmt=PagelistTemplateSamples#trail trail=Cookbook:)



The output as you can see for yourself if you go to the page is:

  << PagelistExplained | Cookbook | 
 PageListWikiTrail >>

There is an actual return that should not be there after the:
  << PagelistExplained | Cookbook | 

I am within a single pagelist.  Other samples like the
OneLine sample  can handle this.  I've added slashes, they
don't work either, some of them even added more returns!


-Martin




More information about the pmwiki-users mailing list