[pmwiki-users] How to reference a ptv from another page

Peter Bowers pbowers at pobox.com
Tue Nov 25 08:30:25 CST 2008


On Tue, Nov 25, 2008 at 12:44 PM, Graham Archer <Graham.Archer at sun.com> wrote:
> However I want the Page name above also to be selectable by a PTV on the
> main page.
>
> I've tried....
>
> {Group.$Pageptv$:Targetptv}   but this doesn't seem to work.

Try this:

If you have {$:x} on the current page which contains a pagename and on
that page you have {$:y} then this will work:

{{$:x}$:y}

(See http://www.pmwiki.org/wiki/Test/Ptva and
http://www.pmwiki.org/wiki/Test/Ptvb for an example where I just
tested it)

-Peter



More information about the pmwiki-users mailing list