Thursday 29 September 2005 12:48:45 pm
What is the proper way to override user edit template? I have a custom user (profile) class, call it user2 and override it with:
[edit_user2]
Source=content/edit.tpl
MatchFile=edit/user2.tpl
Subdir=templates Match[class_identifier]=user2 This doesn't work, base template is loaded instead. eZDebug shows:
Template = edit/user.tpl
Requested template = content/edit.tpl Template loaded = design/base/override/templates/edit/user.tpl I tried to add override:
[edit_user2_2]
Source=edit/user.tpl
MatchFile=edit/user2.tpl
Subdir=templates Match[class_identifier]=user2 No use. Copying the template to design/.../templates/user/edit.tpl also doesn't work. Help? Bug? eZ 3.7.0rc2 php4.4
|