[pmwiki-users] empty pagelist options

adam overton a at plus1plus1plus.org
Tue Jul 22 17:14:01 CDT 2008


hi
i've been passing information to my pagelist templates via various {$ 
$options}
the problem i'm running into is that if i were to leave the option  
out of a template, i'd expect it to return an empty string, or  
something like that... but instead, it's popping up as a "{$ 
$myOption}", as a string

(:pagelist ... myOption1="blah" fmt=#testList :)
with a pagelist template containing {$$myOption1}, spits out "blah"

(:pagelist ...  fmt=#testList :)
with no mention of myOption1 in the pagelist, but using the same  
pagelist template, spits out "{$$myOption1}" wherever it comes across it


is it possible to have this "fail" silently, or to be replaced with  
an empty string "" if not used?
thanks!
adam


ps- running pmwiki-2.2.0-beta65



More information about the pmwiki-users mailing list