Wednesday 18 April 2007 12:07:13 pm
Hello there, I am having an odd problem with some xml text attributes in a standard eZ installation using the latest revision of eZPublish 3.9.2 When I show the contents of a xml text attribute via the standard template, for example in the intro field of an article:
{attribute_view_gui attribute=$node.data_map.intro}
This calls up the template in design/standard/templates/content/datatype/view/ezxmltext.tpl Now when the template displays the content of the xml text field in $module_result.content, the property .output.output_text is emptied after the output, so any other later call to that property returns an empty string. for example, debugging design/standard/templates/content/datatype/view/ezxmltext.tpl
{$attribute.content.output.output_text|attribute(show)} {*this brings data*}
{$attribute.content.output.output_text}
{$attribute.content.output.output_text|attribute(show)} {*this is empty !!!!!!!! *}
is this a bug? am I doing something wrong? regards,
I have great faith in fools; self-confidence my friends call it.
http://presencia.net
|