HOWTO: Modify registration process

Author Message

Dominik Pich

Monday 12 January 2004 6:32:14 am

I need to modify the registration form and how it is processed as I:

a) want to change its layout
b) want to expand the signup form. You can either register a username OR an advanced name requiring email-notification.

Eirik Alfstad Johansen

Monday 12 January 2004 6:48:38 am

Hi Domink,

Chaning the layout of the shop registration form is as easy as creating an override template for shop/register.tpl. However, this also calls for changes (in most cases) to the underlying code, and I have yet to find a better way to accomplish this than to edit the kernel/shop/register.php file itsself. That's not recommended, though, for upgrade reasons.

I belive someone mentioned something about maintaining a patch (I belive it was Paul) and that might be a better way to go.

Sincerely,

Eirik Johansen

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Dominik Pich

Tuesday 13 January 2004 3:38:20 am

Hi, changing the appearance is no problem then but it uses a loop to display the input boxes. Even if I kept them, how could I add values!?
Anyways, I also would like to CHANGE existing input fields.
-->
How do I change the processing of the form?

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 18 2025 19:22:34
Script start
Timing: Jan 18 2025 19:22:34
Module start 'layout'
Timing: Jan 18 2025 19:22:34
Module start 'content'
Timing: Jan 18 2025 19:22:35
Module end 'content'
Timing: Jan 18 2025 19:22:35
Script end

Main resources:

Total runtime0.9143 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0094 587.9219152.6250
Module start 'layout' 0.00940.0048 740.546939.4609
Module start 'content' 0.01420.8985 780.0078530.7813
Module end 'content' 0.91270.0015 1,310.78918.1563
Script end 0.9142  1,318.9453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.3905160.0002
Check MTime0.00140.1491160.0001
Mysql Total
Database connection0.00090.095710.0009
Mysqli_queries0.857893.8235570.0150
Looping result0.00060.0706550.0000
Template Total0.866494.820.4332
Template load0.00240.261420.0012
Template processing0.864094.504520.4320
Template load and register function0.00020.025110.0002
states
state_id_array0.00150.167910.0015
state_identifier_array0.00180.199220.0009
Override
Cache load0.00200.2169180.0001
Sytem overhead
Fetch class attribute can translate value0.00090.094320.0004
Fetch class attribute name0.00190.210140.0005
XML
Image XML parsing0.00070.080020.0004
class_abstraction
Instantiating content class attribute0.00000.001540.0000
General
dbfile0.00080.0910160.0001
String conversion0.00000.001140.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs