[pmwiki-users] Bug in variables inside Page List Templates?

Stirling Westrup sti at pooq.com
Thu Sep 20 16:46:07 CDT 2007


I think I just found a bug in variable processing inside page list templates.

I've defined $SomePage as a PageVar:

  $FmtPV['$SomePage'] = '$GLOBALS["SomePage"]';

For must uses, this variable works fine, but if I create a template


#foofmt
(:template trail={$SomePage}:)
Stuff
#foofmtends

The trail doesn't get accessed when I do a (:pagelist fmt=#foofmt:), but
everything works if I manualy expand {$SomePage} inside the template's
'trail=' parameter.





More information about the pmwiki-users mailing list