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

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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/