Tuesday 19 June 2007 7:25:46 am
I'm using a fresh installation of eZpublish 3.9.2. Following the TSCM tutorial (http://ez.no/ezpublish/documentation/building_an_ez_publish_site/the_welcome_page/creating_and_using_a_custom_template)
an override template is used to display an article in the default node. The article related image is displayed using:
<div class="imageright">
{attribute_view_gui attribute=$node.object.data_map.image}
</div>
But it doesn't show it. After some trial and error, I've managed to display the image using:
<div class="imageright">
{content_view_gui view=embed content_object=$node.object.data_map.image.content}
</div>
Is this the right way to do this?
|