Forums / Setup & design / How to add a new parameter for attribute_view_gui and an ezxmltag

How to add a new parameter for attribute_view_gui and an ezxmltag

Author Message

Martin Burger

Tuesday 17 June 2003 2:06:33 pm

Hello,

I have my own paragraph.tpl and I want to add a new parameter to the attribute_view_gui command:

{attribute_view_gui style_class=martinsclass attribute=$content_version.data_map.title}

So, in paragraph.tpl I would have:

<p class="{$style_class}">
{$content}
</p>

In

design/standard/templates/content/datatype/view/ezimage.tpl

there's an additional parameter named 'image_class'. But for the ezxmltag template this dosn't work.

At the moment I can't change the style of the paragraph for one specific template, it is only possible to specify the style in the global css file.

Regards, Martin

http://www.netbeyond.de/