Share » Forums » Developer » How to query just 2 attributes from...

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!

36 542 Users on board!

Forums menu