How to query just 2 attributes from 45 attribute ?!

How to query just 2 attributes from 45 attribute ?!

Sunday 14 November 2004 3:27:49 am - 1 reply

Author Message

Felix Laate

Monday 15 November 2004 1:17:57 am

Hi there..

If I understand you correctly, you could just create a view and use something like:

{section show=$node.object.data_map.NAME_OF_ATTRIBUTE_1.content.is_empty|not}            
        {attribute_view_gui attribute=$node.object.data_map.NAME_OF_ATTRIBUTE_1}
{/section}

{section show=$node.object.data_map.NAME_OF_ATTRIBUTE_2.content.is_empty|not}            
        {attribute_view_gui attribute=$node.object.data_map.NAME_OF_ATTRIBUTE_2}
{/section}

for the 2 attributes you want to be shown..

felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

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.