On Fri, Apr 20, 2007 at 09:23:26PM +0100, Hans wrote:
> Friday, April 20, 2007, 9:11:25 PM, Patrick wrote:
> > I have no idea, but is $pagename resolved?
>
> yes it is, and without ResolvePageName call. calling it make sno
> difference.
>
> Here is a test you can try:
> Put on a test page:
>
> {$:Var}
> (:Var: This is a PTV:)
>
> Add to config.php:
>
> $name = PageVar($pagename, '$FullName');
> echo PageTextVar($name, 'Var');
>
> The call to PageTextVar will kill the PTV display.
> Changing $FullName to $Name will mend it.
Seems to work okay for me:
http://www.pmwiki.org/sandbox/beta44/pmwiki.php/Main/TestPage
Pm
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users