eZ Community » Forums » Developer » user registration multi step
expandshrink

user registration multi step

user registration multi step

Wednesday 30 May 2012 10:45:15 am - 2 replies

Hi,

i need to create a custom registration with multi steps and i was wondering what would be the best choice/practise to achieve it.

Override the user registration process or create a specific module ?

Friday 01 June 2012 9:43:39 am

Hi.

Assuming you have the ability to use rewrites, I would create a module myextension/myuserregister and in apache, redirect /user/register -> myextension/myuserregister

 

The use register.php as your starting point.

  1. It already has a rudimentary use of steps ($redirectNumber) that you can probably leverage in this case (put in steps2.1, 2.2, 2.3, etc in the right place and leave much of it intact) so that you fall out of the bottom eventually with a properly registered and logged in user.
  2. Also, unlike other items like content/action, user/register is not riddled with redirects(some, but understandable and clean), so it is fairly striaghtforward to follow. You just might want to change some code so that the redirects continue to go to the module user instead of myuserregister to keep the urls clean.

Wednesday 28 November 2012 9:15:48 pm

http://gitorious.org/multiple-step-collector-extension-for-ez-publish

Not quite what you're after, but worth checking out happy.gif Emoticon

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu