Forums / Developer / Register / Login page override

Register / Login page override

Author Message

johann savalle

Monday 08 May 2006 6:23:52 am

Hi,

I would like to customize the login on my siteaccess but I can't find where I should do that.
I tried with a few fancy override rules, but nothing seems to work.
Same question for sign up page.

Any help is welcomed.

y.s

Stuart Fenton

Monday 08 May 2006 6:33:37 am

Just add an override template into your templates/override folder.

There should be a folder called user if there is not add it. If you look in either the standard or the base design folders you will find the templates that can be overridden in them. Simply copy it to your templates/override /user folder and edit it.

Regards
fats

-- Stuart

stuart@grandmore.com
http://www.grandmore.com

johann savalle

Monday 08 May 2006 6:48:41 am

Working :)
thanks,
y.s

Kristian Hole

Monday 08 May 2006 6:55:13 am

In reply to:

Just add an override template into your templates/override folder.
 
 There should be a folder called user if there is not add it. If you look in either the standard or the base design folders you will find the templates that can be overridden in them. Simply copy it to your templates/override /user folder and edit it.
 

What you should do is to copy design/standard/templates/user/login.tpl to design/YOURDEISGN/templates/user/login.tpl. <b>Not</b> override/templates.

The reason for this is that your templates/user/login.tpl is allways used. In override/templates/ you should only put the templates which you have made an override-rule for in override.ini.append.php.

By separating the ones that are in special cases ( triggered by rules in override.ini.append.php ) and those that are allways used, you have more control over your files.

Reference:
http://ez.no/doc/ez_publish/technical_manual/3_7/templates/the_template_override_system
http://ez.no/doc/ez_publish/technical_manual/3_7/templates/the_template_override_system/template_override_example

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute