custom tailored registration form

Author Message

Daniel Spring

Monday 12 July 2010 12:50:15 pm

Hi, eZP Community. I was not able to find this information in the forums. Although I found related info, I never saw an actual solution. I need to have different registration pages display based on which link a user clicks. So, imagine there are two user types (groups): buyers and suppliers. If you imagine a landing page with two buttons; one says "Buyer Registration" while the other one says "Supplier Registration". I want to capture different information in the user registration form based on which link/button the user clicks (i.e. buyer or supplier user). Does anyone have any tips on how this could be achieved or if there are any mods that might supply or at least simplify this process?
As a side note, I also need to send custom notifications for the two different registration types, one for when a supplier registers and one for when a buyer registers. Can this be done with out a bunch of hacking?
Thank you!

Ivo Lukac

Tuesday 13 July 2010 1:40:23 am

You can do it with some heavy javascript magic (enabling/disabling fields etc.) but if you really need two different classes of users then you can achieve it with additional siteaccess.

Go through this thread for more info: http://share.ez.no/forums/setup-design/two_registration_forms_with_diferent_user_groups

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

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 18 2025 04:57:54
Script start
Timing: Jan 18 2025 04:57:54
Module start 'layout'
Timing: Jan 18 2025 04:57:54
Module start 'content'
Timing: Jan 18 2025 04:57:56
Module end 'content'
Timing: Jan 18 2025 04:57:56
Script end

Main resources:

Total runtime1.1754 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 587.9375152.6250
Module start 'layout' 0.00520.0039 740.562539.4453
Module start 'content' 0.00901.1649 780.0078524.2422
Module end 'content' 1.17390.0014 1,304.25008.1563
Script end 1.1753  1,312.4063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.2654160.0002
Check MTime0.00130.1098160.0001
Mysql Total
Database connection0.00080.064610.0008
Mysqli_queries1.137296.7496540.0211
Looping result0.00060.0471520.0000
Template Total1.133596.420.5667
Template load0.00160.137620.0008
Template processing1.131896.298120.5659
Template load and register function0.00010.011910.0001
states
state_id_array0.00160.137110.0016
state_identifier_array0.00160.136520.0008
Override
Cache load0.00130.1079100.0001
Sytem overhead
Fetch class attribute can translate value0.00050.045620.0003
Fetch class attribute name0.00110.093930.0004
XML
Image XML parsing0.00060.052620.0003
class_abstraction
Instantiating content class attribute0.00000.000630.0000
General
dbfile0.00070.0626170.0000
String conversion0.00000.000640.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs