Checkbox test condition in template?

Checkbox test condition in template?

Wednesday 23 February 2011 9:52:44 pm - 2 replies

Author Message

Marko Žmak

Thursday 24 February 2011 5:57:05 am

The solution is like this:

{if $node.data_map.check.content}
    <div>display something</div>
{/if}

Note that it's "data_map" and not "data.map".

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Olaf Fichtner

Thursday 24 February 2011 6:05:16 pm

Aaarrrggghhhh, I knew it was something for which I would bang my head against the wall...

Thank you!

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.