Selection attribute ..has_content?

Selection attribute ..has_content?

Tuesday 29 March 2011 3:32:00 pm - 2 replies

Author Message

Gabriel Finkelstein

Tuesday 29 March 2011 8:01:02 pm

A selection attribute has always content. What you can do is check if that content is empty, like this:

{if $node.data_map.xxx.content.0}...

Lo' F.

Wednesday 30 March 2011 2:22:25 am

A selection attribute has always content. What you can do is check if that content is empty, like this:

{if $node.data_map.xxx.content.0}...

Gabriel, thank you so much!

loredanaebook.it

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.