[pmwiki-users] PTVs not showing on new installation

Patrick R. Michaud pmichaud at pobox.com
Fri Apr 20 15:32:45 CDT 2007


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



More information about the pmwiki-users mailing list