Forums / Developer / class_group match rule

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

class_group match rule

Author Message

Eric Bourgain

Saturday 03 March 2007 4:13:21 am

I've some problems with the Match[class_group] rule in override.ini

in content.ini, the class group override is enabled:

[ContentOverrideSettings]
EnableClassGroupOverride=true

in override.ini.append.php for the user site, I've the following rules

[line_iag_form]
Source=node/view/line.tpl
MatchFile=line/iagform.tpl
Subdir=templates
Match[class_group]=5

[full_iag_form]
Source=node/view/full.tpl
MatchFile=full/iagform.tpl
Subdir=templates
Match[class_group]=5

The 'full' override works fine. But the 'line' one does not work. I can't figure why. Further investigations lead to think that node_view_gui does not go through the same functions than the initial template call.

BTW, this override does not work either (in admin siteaccess):

[edit_iag_form]
Source=content/edit_attribute.tpl
MatchFile=formdesigner/edit_attribute.tpl
Subdir=templates
Match[class_group]=5

Does anyone have an idea?