eZ Community » Forums » Developer » registrationfeedback.tpl override
expandshrink

registrationfeedback.tpl override

registrationfeedback.tpl override

Monday 25 August 2008 12:46:19 pm - 3 replies

Hi!

How can i override this template?

I use the next code at settings/siteaccess/mysite/override.ini.append.php but doesn't work:

[registrationfeedback]
Source=user/registrationfeedback.tpl
MatchFile=registrationfeedback.tpl
Subdir=templates

It always use the default template (design/standard/templates/user/registrationfeedback.tpl)

Thanks.

Saturday 30 August 2008 1:41:23 pm

I have the same problem.

I've created files registrationfeedback.tpl and registrationinfo.tpl in folder /templates/user of siteaccess ezwebin, but seems not work.

Thursday 25 December 2008 3:22:43 pm

I want to override <b>/design/standard/templates/user/registrationinfo.tpl</b>, but I don't know how to do.

OnlyBlue

Friday 26 December 2008 3:37:12 pm

The best way to "always override" any given template - ie. override it with no matching condition - is in fact to put the new template in a custom design, without any override condition.

If the concept of multiple designs is not clear to you, please look it up in the online manual.

In short:
- in an override file for site.ini, you have to configure your site to use "my_design" as primary design, and "standard" as fallback design (generally the complete fallback design chain is ezflow/ezwebin/base/standard)
- create your new template in design/my_design/templates/user/registrationfeedback.tpl

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from