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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.