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

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

eZ debug

Timing: Jan 19 2025 04:33:47
Script start
Timing: Jan 19 2025 04:33:47
Module start 'layout'
Timing: Jan 19 2025 04:33:47
Module start 'content'
Timing: Jan 19 2025 04:33:49
Module end 'content'
Timing: Jan 19 2025 04:33:49
Script end

Main resources:

Total runtime1.4701 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0079 589.1563152.6250
Module start 'layout' 0.00790.0030 741.781339.4453
Module start 'content' 0.01101.4575 781.2266589.1406
Module end 'content' 1.46850.0016 1,370.367212.1641
Script end 1.4701  1,382.5313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.2439160.0002
Check MTime0.00140.0951160.0001
Mysql Total
Database connection0.00100.068410.0010
Mysqli_queries1.402595.4012620.0226
Looping result0.00120.0804600.0000
Template Total1.425597.020.7127
Template load0.00370.248720.0018
Template processing1.421896.712820.7109
Template load and register function0.00020.015910.0002
states
state_id_array0.00120.081710.0012
state_identifier_array0.00160.109920.0008
Override
Cache load0.00270.1804290.0001
Sytem overhead
Fetch class attribute can translate value0.00100.068030.0003
Fetch class attribute name0.00100.067860.0002
XML
Image XML parsing0.00120.078830.0004
class_abstraction
Instantiating content class attribute0.00000.000960.0000
General
dbfile0.00240.1621220.0001
String conversion0.00000.000540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 21
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs