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) »
  • stand alone form and drupal registration
Pages: [1]

Author Topic: stand alone form and drupal registration  (Read 2284 times)

floadmin

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
stand alone form and drupal registration
September 14, 2007, 11:56:15 am
We've setup our CivicCRM, and now need to start populating the database. What I am looking to do is add to our customized stand alone profile form the ability to have members create their drupal site registration. How do I add to the stand alone form the User Name and Email address?

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: stand alone form and drupal registration
September 14, 2007, 01:20:16 pm

assuming you are using 1.8, enable the Create CMS checkbox in profile settings

Note that there is a bug in v1.8 (http://forum.civicrm.org/index.php/topic,1111.0.html) which is fixed in 2.0. For v1.8, you will have to modify the form and add the CMS form fields manually. I'm pretty sure this will work

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

floadmin

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
Re: stand alone form and drupal registration
September 15, 2007, 11:40:51 am
yes, we're running 1.8. I am not seeing something in the profile settings labeled "Create CMS checkbox". Are you referring to "Drupal user account registration option" under the advanced settings for the profile? I have that checked. I was reading this post: http://forum.civicrm.org/index.php/topic,931.0.html and the example: http://www.friendsofcyreena.com/civicrm/profile/create&reset=1&gid=2 -- This is what we're trying to accomplish, a check box that gives the person filling out the form the ability to join the community and create a user name.

Thank you for your help with this. -- David

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: stand alone form and drupal registration
September 15, 2007, 11:44:09 am

i just checked that url and the "create an account" checkbox is present. You need to be logged out (i.e. anonymous user) to see that checkbox. The checkbox is suppressed for logged in users since they already have an account

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

floadmin

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
Re: stand alone form and drupal registration
September 15, 2007, 12:39:08 pm
hmm ... here is the form: http://www.familieslikeours.org/?q=content/flo-pre-service-family-registration-form ... that we're trying to get to work

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: stand alone form and drupal registration
September 15, 2007, 01:10:23 pm

oop, sorry. i checked the example site :(

note that there is a bug (http://issues.civicrm.org/jira/browse/CRM-2229) and the CMS box will not appear in a standalone form. A workaround for this is to manuallly add it to the standalone form, but you need to be comfortable with html forms etc. If you want to do this, do the foll:

1. use the url: q=civicrm/profile/create&reset=1&gid=XXX (where gid is your profile) as anonymous user and get the create cms form elements
2. cut the paste the relevant code into your standalone form
3. test and fix you standalone form as needed

This bug is fixed in 2.0 and will be part of that release if you prefer to wait (note that 2.0 is not due till the end of the year)

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

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

This forum was archived on 2017-11-26.