Forums / Developer / HOWTO: Modify registration process

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?

eZ debug

Timing: Jan 18 2025 15:59:08
Script start
Timing: Jan 18 2025 15:59:08
Module start 'content'
Timing: Jan 18 2025 15:59:08
Module end 'content'
Timing: Jan 18 2025 15:59:08
Script end

Main resources:

Total runtime0.0165 sec
Peak memory usage2,048.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 587.9375180.8281
Module start 'content' 0.00610.0051 768.765693.8828
Module end 'content' 0.01120.0052 862.648470.7031
Script end 0.0165  933.3516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002213.2971120.0002
Check MTime0.00116.4979120.0001
Mysql Total
Database connection0.00106.131710.0010
Mysqli_queries0.003320.028540.0008
Looping result0.00000.083620.0000
Template Total0.004829.210.0048
Template load0.00085.007110.0008
Template processing0.004024.200910.0040
Override
Cache load0.00063.326110.0006
General
dbfile0.00074.4391100.0001
String conversion0.00000.030330.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs