second registration form in my site: is it possible?

Author Message

Alessandro Cipriani

Wednesday 25 February 2004 1:31:27 am

hi all
my site is divided into 3 main section:
- public, that doesn't need any registration
- documentation, visible only to the registered users (with the default registration form/process)
- customers, in which the administrators can register new customers.

the registration form to log into the second section is the default registration form, visible to anyone accessing the site and that sends confirmation email to the site administrator.

the registration form for the customers section must be as follows:
- it will be in the customer section (only visible to the administrators)
- it will have different (and more) fields
- it will send confirmation email to the customer administrator (different e-mail address than the site administration)

no problem by overriding the user/register template, but i need to have a new/different "registration process" that inserts data into the same db table (and sends the email to the new address) and have a reference to it (in the action parameter of the form: i.e.: action={"/user/registerCustomer/"|ezurl})

where can i find the register process and how can i create the new register process?

thanks in advance
alessandro

James Packham

Wednesday 25 February 2004 9:28:38 am

I think I understand you right:

>> where can i find the register process and how can i create the new register process?

The "registration process" is very difficult to completely modify and even if you did modify it you'd lose your changes the next time you upgraded. You may be able to get the degree of customisation you need by editing the registration email templates and using workflows though.

Regards,

James

Alessandro Cipriani

Wednesday 10 March 2004 3:36:32 am

hi james

an you tell me where i can find the "registration process" that sends the emails? i want to try to modify it, because i'm not able to writ a brand new workflow event.

>The "registration process" is very difficult to completely modify and even if you did modify it you'd lose your changes the next time you upgraded

why? you mean next time i reinstall ezpublish? i think that i can save my modified files and overwrite them after the new installation...

cheers
alessandro

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 12:41:08
Script start
Timing: Jan 19 2025 12:41:08
Module start 'layout'
Timing: Jan 19 2025 12:41:08
Module start 'content'
Timing: Jan 19 2025 12:41:09
Module end 'content'
Timing: Jan 19 2025 12:41:09
Script end

Main resources:

Total runtime0.8603 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.0047 590.6563152.6406
Module start 'layout' 0.00470.0030 743.296939.4766
Module start 'content' 0.00770.8513 782.7734519.3125
Module end 'content' 0.85900.0013 1,302.085912.1250
Script end 0.8603  1,314.2109 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3674160.0002
Check MTime0.00130.1508160.0001
Mysql Total
Database connection0.00080.094310.0008
Mysqli_queries0.810294.1801570.0142
Looping result0.00050.0576550.0000
Template Total0.834497.020.4172
Template load0.00200.228020.0010
Template processing0.832496.760020.4162
Template load and register function0.00010.012810.0001
states
state_id_array0.00070.084510.0007
state_identifier_array0.00060.072420.0003
Override
Cache load0.00160.1866330.0000
Sytem overhead
Fetch class attribute can translate value0.00050.058220.0003
Fetch class attribute name0.00170.200950.0003
XML
Image XML parsing0.00090.106920.0005
class_abstraction
Instantiating content class attribute0.00000.001460.0000
General
dbfile0.00090.1093220.0000
String conversion0.00000.000740.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs