Forums / Developer / [34beta2] attribute_view_gui and classes?

"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".

[34beta2] attribute_view_gui and classes?

Author Message

Chris Fullerton

Wednesday 26 May 2004 7:19:14 pm

Using 34 beta2.

Trying to pass a class using:

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

And in templates/content/datatype/view/ezxmltags/paragraph.tpl:

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

However, this isn't working. Bug, going about it the wrong way, or user error?

Any help appreciated.

Thanks.