[pmwiki-users] PTVs not showing on new installation

Hans design5 at softflow.co.uk
Fri Apr 20 15:23:26 CDT 2007


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.


  ~Hans




More information about the pmwiki-users mailing list