<div dir="ltr">As far I see what the recipe does (among other execution paths) is to read in the trail page source and then determine, if there are page lists in the page and then convert those pagelists to wiki code and afterwards  feed it to the functions, which handle the trails generation.<br>I transferred the (as far as I could tell) relevant code to the trails.php script, but unfortunately I wasn't able to get it to work....<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Do., 4. Jan. 2024 um 06:53 Uhr schrieb Gregor Klarič <<a href="mailto:klaric.gregor@gmail.com">klaric.gregor@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">OK, I understand, I misread the description on the WikiTrails page and thought I could use a pagelist as a trail source.<br><br>So I found this old recipe<br><a href="https://www.pmwiki.org/wiki/Cookbook/PageListWikiTrail" target="_blank">https://www.pmwiki.org/wiki/Cookbook/PageListWikiTrail</a><br>I guess I could use this if updated to run on the current wiki version and php?<br><br><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Mi., 3. Jan. 2024 um 20:57 Uhr schrieb Petko Yotov <<a href="mailto:5ko@5ko.fr" target="_blank">5ko@5ko.fr</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The WikiTrail page really needs to have a bulleted list of links to <br>
other pages, a pagelist is not recognized.<br>
<br>
To use a pseudo-trail from a pagelist, check Dynamic trails:<br>
<br>
   <a href="https://www.pmwiki.org/wiki/Cookbook/DynamicTrails" rel="noreferrer" target="_blank">https://www.pmwiki.org/wiki/Cookbook/DynamicTrails</a><br>
<br>
There are other recipes but this one doesn't need to install anything, <br>
just configure Site.LocalTemplates and GroupFooter.<br>
<br>
<br>
> (:if intext ': užitna' {$FullName}:)<br>
<br>
I think you probably mean {*$FullName} not {$FullName} here. <br>
{*$FullName} means the browsed page, {$FullName} is normally <br>
GroupFooter.<br>
<br>
Petko<br>
<br>
<br>
On 03/01/2024 20:43, Gregor Klarič wrote:<br>
> Hello,<br>
> <br>
> I am trying to use trail markup<br>
> <a href="https://www.pmwiki.org/wiki/PmWiki/WikiTrails" rel="noreferrer" target="_blank">https://www.pmwiki.org/wiki/PmWiki/WikiTrails</a><br>
>  using a page list as trail index, but it is not working.<br>
> <br>
> In the group footer page <a href="https://www.gobe.si/Gobe/GroupFooter" rel="noreferrer" target="_blank">https://www.gobe.si/Gobe/GroupFooter</a> I am<br>
> using this condition:<br>
> <br>
> (:if intext ': užitna' {$FullName}:)<br>
> <br>
> %center%<<|[[Gobe/UzitneGobe|+]]|>><br>
> <br>
> (:ifend:)<br>
> <br>
> The condition itself works, if the text is found in the page. But only<br>
> the link to the trail page is displayed and not the links to the<br>
> previous and next page.<br>
> <br>
> See for instance <a href="https://www.gobe.si/Gobe/AgaricusBisporus" rel="noreferrer" target="_blank">https://www.gobe.si/Gobe/AgaricusBisporus</a><br>
> <br>
> I am using pmwiki-2.3.15.<br>
> <br>
> What am I doing wrong?<br>
> <br>
> Kind Regards,<br>
> Gregor<br>
</blockquote></div>
</blockquote></div>