Details
-
Bug
-
Resolution: Fixed
-
Medium
-
3.10.0, 3.9.4, 4.0.0alpha2
-
None
Description
The override condition 'class_identifier' for the attribute_view_gui and attribute_edit_gui does not work.
It is not defined in eztemplateautoload.php file.
Ref:
http://ez.no/doc/ez_publish/technical_manual/3_10/reference/template_override_conditions
Here is the fix for attribute_view_gui:
Index: kernel/common/eztemplateautoload.php =================================================================== --- kernel/common/eztemplateautoload.php (Revision 20681) +++ kernel/common/eztemplateautoload.php (Arbeitskopie) @@ -176,7 +176,9 @@ 'input_name' => 'attribute', 'output_name' => 'attribute', 'namespace' => 'ContentAttribute', - 'attribute_keys' => array( 'attribute_identifier' => array( 'contentclass_attribute_identifier' ) ), + 'attribute_keys' => array( 'attribute_identifier' => array( 'contentclass_attribute_identifier' ), + 'attribute_id' => array('contentclassattribute_id'), + 'class_identifier' => array( 'object', 'class_identifier' )), 'attribute_access' => array( array( 'view_template' ) ), 'optional_views' => true, 'use_views' => 'view' ),
Attachments
Issue Links
- relates to
-
EZP-11499 Template override conditions :: node/view/*.tpl :: parent_class_identifier condition is not always verified
- Closed