Re: Trail markup using a page list as trail index

Petko Yotov <[email protected]>
Newsgroups gmane.comp.web.wiki.pmwiki.user
Message-ID <[email protected]>
The WikiTrail page really needs to have a bulleted list of links to 
other pages, a pagelist is not recognized.

To use a pseudo-trail from a pagelist, check Dynamic trails:

   https://www.pmwiki.org/wiki/Cookbook/DynamicTrails

There are other recipes but this one doesn't need to install anything, 
just configure Site.LocalTemplates and GroupFooter.


> (:if intext ': užitna' {$FullName}:)

I think you probably mean {*$FullName} not {$FullName} here. 
{*$FullName} means the browsed page, {$FullName} is normally 
GroupFooter.

Petko


On 03/01/2024 20:43, Gregor Klarič wrote:
> Hello,
> 
> I am trying to use trail markup
> https://www.pmwiki.org/wiki/PmWiki/WikiTrails
>  using a page list as trail index, but it is not working.
> 
> In the group footer page https://www.gobe.si/Gobe/GroupFooter I am
> using this condition:
> 
> (:if intext ': užitna' {$FullName}:)
> 
> %center%<<|[[Gobe/UzitneGobe|+]]|>>
> 
> (:ifend:)
> 
> The condition itself works, if the text is found in the page. But only
> the link to the trail page is displayed and not the links to the
> previous and next page.
> 
> See for instance https://www.gobe.si/Gobe/AgaricusBisporus
> 
> I am using pmwiki-2.3.15.
> 
> What am I doing wrong?
> 
> Kind Regards,
> Gregor

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.