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?

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