Author Topic

Łukasz Serwatka

Wednesday 02 November 2005 4:17:16 am

Comment20320

Using {$node.object.data_map.page_body.content} gives direct output from your attribute, using {attribute_view_gui attribute=$node.object.data_map.page_body} will load template releted with page_body datatype. If you will go to design/standard/templates/content/datatype/view and preview eztext.tpl you will see code

{$attribute.content|wash( xhtml )|nl2br}

$attribute in case where you use {attribute_view_gui attribute=$node.object.data_map.page_body} holds $node.object.data_map.page_body

But you can display content of your attribute without using attribute_view_gui like $node.object.data_map.page_body.content.

Correct code for attribute_view_gui is {attribute_view_gui attribute=$node.object.data_map.page_body}

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog