[pmwiki-users] empty pagelist options

adam overton a at plus1plus1plus.org
Sat Jul 26 05:12:53 CDT 2008

awesome. thanks!

On 26 Jul 2008, at 12:23 AM, Patrick R. Michaud wrote:

> On Tue, Jul 22, 2008 at 03:14:01PM -0700, adam overton wrote:
>> 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?
> Yes, I've had this come up in a couple of places also, and I think
> it needs to be a core change.  I'll look into it for the next
> release.
> Pm

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20080726/76656bfd/attachment.html 

More information about the pmwiki-users mailing list