[pmwiki-users] PTVs not showing on new installation
Hans
design5 at softflow.co.uk
Fri Apr 20 14:49:50 CDT 2007
Friday, April 20, 2007, 8:41:11 PM, Hans wrote:
> the error originates from a call to PageTextVar.
> I can give it an explicit pagename and it still causes the error:
> $s1 = PageTextVar('Main.FoxOpinionPoll', 'SumVote1');
This solved it (call to PageVar):
$name = PageVar($pagename, '$Name');
$s1 = intval(PageTextVar($name, 'SumVote1'));
call to ResolvePageName was not needed.
~Hans
More information about the pmwiki-users
mailing list