[pmwiki-users] How to create a working *complex* search link (where q=$:ptv=...)

Jean-Fabrice [gmail] jeanfabrice at gmail.com
Sun Oct 26 13:51:34 CDT 2008


Hi list,

I would like to insert some preformated search links in my wiki, for
instance a link like this one  :
[[{$Fullname}?action=search&q=$:ptv={$:a_ptv}|{$:a_ptv} articles]]

As long as the $:a_ptv name does not contain spaces, it works fine. If
 {$:a_ptv} contains at least on space, the link is not displayed. I
tried to enclosed {$:a_ptv} with either single quote or double quotes
but the URL construct mecanism of pmwiki does not like that :(

In my case, I have a $:autheur ptv set in some pages. I want to be
able to create a 'my article' link :
[[{$Fullname}?action=search&q=$:autheur={$Author}|my articles]]

JF



More information about the pmwiki-users mailing list