Forums / Setup & design / Attribute view gui and parameter

Attribute view gui and parameter

Author Message

Fabio Carissimi

Monday 11 December 2006 7:28:57 am

Hello,

I tried to use attribute_view_gui in a template with an additionnal parameter.
It is for an XML tag datatype. What I want to do is having an output like :

<p class="myclass">bla</p>

instead of

<p>bla</p>

attribute view gui use the standard paragraph.tpl in \content\datatype\view\ezxmltags
which contains this code :

<p{section show=ne($classification|trim,'')} class="{$classification|wash}"{/section}>
{$content}
</p>

Normally

{attribute_view_gui attribute=$node.object.data_map.myattribute classification="myclass"}

should work but It doesn't.

Can somebody help me to use this functionnality ?
Many Thanks

Fabio Carissimi

Tuesday 23 January 2007 6:58:43 am

nobody can help ?

Fabio Carissimi

Wednesday 14 March 2007 6:42:39 am

Still nobody?

Is this a bug or do I have to use it differently?

Thanks for help ...

Claudia Kosny

Thursday 15 March 2007 1:57:11 am

Hi Fabio

I think you have to use it differently. According to this page http://ez.no/doc/extensions/online_editor/4_x/usage/formatted_text/the_class_parameter you have to set the class for the paragraph in the content editor. Read the linked page to get detailed information on how to do that.

Claudia