Hello Chuck,

Tuesday, September 29, 2015, 9:23:37 AM, you wrote:


> -  http://www.codingmaniac.com/pmwikitest/apcu/index.php?n=ChuckG.
> MepTest01

> Embedded PTV references within the PTV do get altered.

you need to use PageTextVar(), PageVar(), as Petko kindly advised.
Something like this:

$MarkupExpr['fixptv2'] = 'FixPtv2($pagename,$args[0])';
function FixPtv2($pn,$a) {
    $r = PageTextVar($pn, substr($a,2));
    echo $pn; print_r($r);
    return $r;
}

embedded expressions and PTvs get rendered correctly in the return,
but not before.


thanks,
 Hans                         


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to