Dear Dan, Two questions/suggestions. 1/ What about (:zap condition="something" action="field=value":)? 2/ Would it be possible to chain such entries within the same zapform (for inclusion in pagelist templates)? With such a solution, you would not have to handle several actions per entry.
Cheers, Benoit 2007/3/8, The Editor <[EMAIL PROTECTED]>:
On 3/8/07, SteP <[EMAIL PROTECTED]> wrote: > The Editor wrote: > > > Also, I had hoped to allow multiple actions to occur when a condition > > is passed, something like this: > > > > (:zap if="condition||field=value,field=value,field=value":) > > > > parenthesized maybe? > (:zap if="condition||(field=value)(field=value)(field=value)":) Not sure how to easily explode this... But maybe... > or some character sequence of sorts, can't explode handle that? > (:zap if="condition||[EMAIL PROTECTED]@.field=value":) > > And then maybe you could use something like .@@. to replace the double > pipe? > > (:zap if="condition.@@[EMAIL PROTECTED]@.field=value":) A possibility. We'll see if there are any other suggestions first... Cheers, Dan _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
_______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
