registrationfeedback.tpl override

Author Message

David Suela

Monday 25 August 2008 3:46:19 am

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.

xsto.info <el acceso a la información>
http://xsto.info
http://dominios.coop

Robert G.

Saturday 30 August 2008 4:41:23 am

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.

Jianjun Hu

Thursday 25 December 2008 6:22:43 am

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

OnlyBlue

☆..·°∴°.☆°°.☆°.
°∴ °☆ .·enjoy star° .·★°∴°
∴°.°★ .·°
  ミ☆°∴°.★☆° ∴·°
°.☆° .·∴° 

Is it a pleasure after all to practice in due time what one has learnt?

Gaetano Giunta

Friday 26 December 2008 6:37:12 am

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

Principal Consultant International Business
Member of the Community Project Board

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