[pmwiki-users] description of link in a trail

ABClf languefrancaise at gmail.com
Sun Aug 27 13:28:38 CDT 2017


To my modest knowledge I guess you can't collect more than pagename
value from your trail ;
in your case, you may want to write the informations you want to show
when outputting pagelists/search results inside each of your pages.

For example, give A, B, C, ... pages a directive title (or maybe
define other PageVariable, or use ptv).
Then write your trail this way
*[[A|+]]
*[[B|+]]
...
and format your recherche snippet with

[[#recherche]]
[[{=$FullName}|+]],
[[#recherche]]

Gilles.

2017-08-26 16:21 GMT+02:00 Benjamin Grassineau <benjamingrassineau at gmail.com>:
> Hello,
>
> I use a trail index with pagelist. For example :
>
> (:pagelist trail=Test#test#testend fmt=#recherche:)
>
> The list is, for example :
> [[#test]]
> *[[A|Allemagne]]
> *[[B|Belgique]]
> *[[C|Cameroun]]
> [[#testend]]
>
> [[#recherche]]
> {=$Name},
> [[#recherche]]
>
> Do you know if it is possible to get the link description in the result ? I
> mean, I would like to have the result : Allemagne, Belgique, Cameroun and
> not, A,B,C.
>
> Thanks for your help
>
> Benjamin
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>



More information about the pmwiki-users mailing list