Tuesday 04 November 2008 12:57:40 pm
So if put in the following:
{def $my_node=fetch( content, node, hash( node_id, 43 ) )}
{$my_node.object.data_map|attribute(show,1)}
{def $my_node1=fetch( content, node, hash( node_id, 59 ) )}
{$my_node1.object.data_map|attribute(show,1)}
{def $my_node2=fetch( content, node, hash( node_id, 160 ) )}
{$my_node2.object.data_map|attribute(show,1)}
43 = Media (which is Media Library)
59 = Banners (under media) 160 = HomeBanner (under Banners, the image I want to display)
They all display the same stuff (the Attributes change but the Type and Value don't):
Attribute Type Value name object[eZContentObjectAttribute] Object
This code:
{$my_node2.name|wash} Will display: HomeBanner All I want to do display an image that is in Media -- Banners. It can be this hard can it? Thanks!
|