[pmwiki-users] Detecting if page is on a wiki trail
Dominique Faure
dominique.faure at gmail.com
Sun Aug 26 02:37:24 CDT 2007
On 8/26/07, Simon <s-i-m-o-n at paradise.net.nz> wrote:
>
> I want to be able to display a trail
> (say in a group header)
> only if a page is 'in' the trail.
>
> Does anyone know of any way I could say
> (: if ThisPage is in the trail WikiTrailPage :)
> << WikiTrailPage >>
> (: ifend :)
>
Digging into the code I found that the last beta (2.2.0b63) provide
the feature you're looking for:
(:if ontrail WikiTrailPage ThisPage:)
...
--
Dominique
More information about the pmwiki-users
mailing list