CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Create different registration form (drupal)
Pages: [1]

Author Topic: Create different registration form (drupal)  (Read 3960 times)

sinasquax

  • Guest
Create different registration form (drupal)
November 06, 2009, 03:15:49 pm
Hello i want to know if it's possible to create differents registration form with civicrm on drupal ?

I think i must use custom data fields / groups to create differents civicrm profiles but if i check 'drupal user registration' and 'view/edit drupal user account', the all differents profile created will be added to the drupal user's registration form.

Is an option of this type exists on civicrm ?

Thank you

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Create different registration form (drupal)
November 06, 2009, 04:16:06 pm

no. u'll have to use some other different modules to allow that

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Create different registration form (drupal)
November 06, 2009, 05:32:15 pm
You should check into using the Profile(s) directly as your registration forms. You can enable "Drupal user account registration option?" from the Profiles' Advanced Settings - and then directly registering folks to the appropriate profile with the desired set of core and custom fields when you invite them to register.
Protect your investment in CiviCRM by  becoming a Member!

sinasquax

  • Guest
Re: Create different registration form (drupal)
November 07, 2009, 03:26:08 am
Quote from: Dave Greenberg on November 06, 2009, 05:32:15 pm
You should check into using the Profile(s) directly as your registration forms. You can enable "Drupal user account registration option?" from the Profiles' Advanced Settings - and then directly registering folks to the appropriate profile with the desired set of core and custom fields when you invite them to register.

Yes it was i did the first time, creating different profiles for registration and after copy the html snippet into drupal pages but i found two problems :

1) It create a civicrm contact but not a drupal user (i think there is an advanced option in profile to do this)
2) In drupal, there is a security token for forms to avoid an hacker to copy locally the form code and edit it to send bad informations by edited form, in civicrm, you copy html snippet of form code which (i think) is not protected, is that can cause problem ?

Thank you (sorry for my bad english)

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Create different registration form (drupal)
November 07, 2009, 07:09:49 am
Rather than using the HTML snippet, you can point anonymous folks (not logged in) directly to a CiviCRM profile url. If the "user registration option is enabled and set to "required" - then a Drupal user and a Civi contact will always be created when form is submitted. Check out this form on the public demo (without logging in):

http://drupal.demo.civicrm.org/civicrm/profile/create?gid=2&reset=1
Protect your investment in CiviCRM by  becoming a Member!

sinasquax

  • Guest
Re: Create different registration form (drupal)
November 07, 2009, 09:21:14 am
Ok thank you very much i think it's the best solution to do this.

Thank you

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Create different registration form (drupal)

This forum was archived on 2017-11-26.