Forums / Setup & design / second registration form in my site: is it possible?

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