[pmwiki-devel] FmtPV[] defined in markup function?
    Hans 
    design5 at softflow.co.uk
       
    Thu Apr 26 13:42:04 CDT 2007
    
    
  
Thursday, April 26, 2007, 7:25:42 PM, Patrick wrote:
> I think I need a much more concrete example.
trying to condense the problem:
{$TestPV} is failed to be set.
"Test" is just to illustrate. It will be a number calculated
inside the function.
Markup('testpv','directives','/\\(:testpv:\\)/e',
      "TestPVMarkup(\$pagename)");
      
function TestPVMarkup ($pagename) {
  global $FmtPV;
  $FmtPV['$TestPV'] = '"Test"';
  return '';
}
Hans
    
    
More information about the pmwiki-devel
mailing list