Forums / Developer / how to make two different registration forms?

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

how to make two different registration forms?

Author Message

Vytautas Germanavičius

Thursday 31 March 2005 10:10:49 pm

i have 2 totaly different types of users, i created two additional classes in Users group.
Question is, how to make two different registration forms? Because /usser/register still show edit form for default User class.

{set-block scope=root variable=cache_ttl}0{/set-block}

Gustaf Carleson

Tuesday 19 April 2005 3:56:23 pm

Did you have any success achieving this?

Fabricio Guerrero

Thursday 21 April 2005 6:08:48 am

hi.. on a similar occasion i solved this a pretty dirty way..

I just send parameters and depending on this i would show one form or another.

if you know of a cleaner way please let me know.

Fabricio

http://www.solobromasychistes.com <<Joomla Site :P
http://www.recipesforhealthyfood.com/ <<Drupal Site :P
http://www.ezforge.com/ <<future ezCommunity, Articles, forums and more...

Daniel Beyer

Thursday 21 April 2005 6:28:38 am

Exponential allows only one class per siteaccess as the "default new user class". You can set the class which should be used in section "[UserSettings]" with the setting "UserClassID=" in site.ini. Default is 4 which is the user class which comes with Exponential. If you want to have to different user classes for registration you need to setup a different siteaccess to override that setting with it.

Note: You can set the default Group and the default placement, too! Just check section "[UserSettings]" in ste.ini for it.

You can get help with siteaccesses at:
http://www.ez.no/ez_publish/documentation/incoming/design/siteaccess_configuration
http://www.ez.no/ez_publish/documentation/configuration/configuration/site_access
http://www.ez.no/ez_publish/documentation/configuration/configuration/tips_tricks/several_sites_with_one_installation

Or search the docs for siteaccess.

Daniel Beyer
_________________________________
YMC AG
Kreuzlingen, Switzerland
web: www.ymc.ch
____________________________________

Gustaf Carleson

Friday 22 April 2005 5:40:15 am

So basically you mean setting up different sub-domain names for each user type using siteaccess?

For example:

http://userclass1.mysite.com/user/register
http://userclass2.mysite.com/user/register

Or am I getting you wrong?

/Gustaf

Bruce Morrison

Friday 22 April 2005 8:38:47 pm

You could always create your own module. It would basically be a copy of the user/register module and allow for both regristration pages to co-exist in the same site.

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish