Forums / Setup & design / Override condition on ezxmltags paragraph

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

Override condition on ezxmltags paragraph

Author Message

Jonathan Guerre

Friday 27 March 2009 7:45:21 am

Hi,

I have tried to set an override condition for the paragraph xmltags.

I add in /settings/siteaccess/my_siteaccess/override.ini.append.php:

[paragraph_teaser]
Source=content/datatype/view/ezxmltags/paragraph.tpl
MatchFile=paragraph_teaser.tpl
Subdir=templates
Match[class_identifier]=sm_paket

and i put in my paket node view full template /design/my_design/override/templates/paket_full.tpl this code for the "arrangement" ezxmltext attribute:

{attribute_view_gui attribute=$node.object.data_map.arrangement}

this full template works for this "sm_paket" content class.

if i put the Match[class_identifier]=sm_paket condition there is no override. But if i remove the match condition the override from paragraph template is working for all !

I want only override the attributes from sm_paket content class.

What i have doing wrong ?

Thanks for your suggestions.

Jonathan

André R.

Saturday 28 March 2009 6:38:07 am

There is no class identifier override for xml tags, only 'classification' for the class attribute on the tags and for the other tag attributes.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom