Display Node Contents...

Display Node Contents...

Wednesday 03 September 2003 2:15:24 pm - 2 replies

Modified on Wednesday 03 September 2003 2:48:16 pm by Douglas Johnson

Author Message

Alex Jones

Wednesday 03 September 2003 2:55:58 pm

Perhaps try something along the lines of: {attribute_view_gui attribute=$:item.data_map.desc}
{attribute_view_gui attribute=$:item.data_map.price}

Nothe 'data_map' in there. If nothing else, take a look at the attributes to see the structure available to you:
{$Promo:item|attribute()} or {$Promo:item|attribute(show)}

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Bjørn Kaarstein

Thursday 04 September 2003 12:41:23 am

Hi.

If you're displaying an XML-field, you can try this:

{$Promo:item.data_map.desc.content.output.output_text}

Displaying a text line will go like this: {$Promo:item.data_map.text_line.content}

{attribute_view_gui attribute=$Promo:item.data_map.price} should work, like Alex described. The system will then use a standard template (price.tpl or something like that) for displaying the price.

Regards Bjørn

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.