Forums / Setup & design / User edit template

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

User edit template

Author Message

Marin Orlic

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

Marin Orlic

Thursday 29 September 2005 12:55:36 pm

Yes, I cleared the cache. Dozens of times. Didn't work.

Now it does. No idea why.