Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: experimenting with the evaluate tag
etc wrote #315107:
Or are you thinking of multiple cf testing?
Can’t we already do this, in a sense, with the match
attribute and/or separator
? Or have I missed the point of what colak is trying to do?
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Offline
Re: experimenting with the evaluate tag
etc wrote #315110:
<txp:if_custom_field name=“home, work” value=“Leeds” />
That would work, I like it. No idea what would happen if you tried to put a list in both name
and value
though… urk.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Offline
Re: experimenting with the evaluate tag
etc wrote #315114:
Well, we would just loop over
name
and check for matches withvalue
as at present. If any (or all?) names match, thenif
is true.
Sure, if that can work with the various match
types and separator
, then it’d be pretty neat.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline