awesome. thanks!
adam

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

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

Reply via email to