Friday 01 April 2011 4:15:39 am
Hi, i want to fetch a object and print out its body content rendered from within a template. I found a number of ways to do this, currently my template looks like this:
{def $object=fetch( 'content', 'object', hash( 'object_id', $objectid ) )}
{if is_set( $object )}
{$object.name|wash}
{$object.data_map.body.content.output.output_text} {/if} i also tried attribute_view_gui same effect: it crashes: Fatal error: Maximum function nesting level of '100' reached, aborting! if i print out {$object.data_map.body.content} i get Object(eZXMLText), so the object seems right. no log entries as far as i can see, any ideas?
|