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) »
  • Multiple CiviCRM Profiles in Drupal User Registration
Pages: [1]

Author Topic: Multiple CiviCRM Profiles in Drupal User Registration  (Read 2282 times)

yopyop

  • I’m new here
  • *
  • Posts: 16
  • Karma: 2
    • PDX Peace
Multiple CiviCRM Profiles in Drupal User Registration
July 19, 2007, 03:12:12 pm
Hi,
i've looked just about everywhere, and I can't figure this out, as I think I'm doing everything that needs to be done, but I must be missing something.

I have a number of CiviCRM profiles created in 'Administer CiviCRM > Profiles', but no matter if I turn on 'User Registration' or 'View/Edit User account' in the Profile's settings, only the 'Contact Info' will show up - none of the other profile groups will (for instance, the 'Organizational Info, Membership Info', etc). The page I am refering to is here - http://www.pdxpeace.org/user/register/

I noticed that if I mixed individual/organization fields in a profile, it wouldn't appear, but I fixed that by creating different profiles. Also I thought it might be a problem with caching, but I disabled the cache, for now. Access for civicrm custom data has been set for anonymous.

I'd like to eventually route our 'Join Us' membership signup through the registration page similar to this site - http://www.uas.coop/user/register/

currently (and sadly) it is being done with a webform, which is creating pockets of information in different spots..

If anyone could help, I'd be very grateful.
thanks,
barry

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: Multiple CiviCRM Profiles in Drupal User Registration
July 19, 2007, 04:07:19 pm

Barry:

Something which we need to clarify in the docs / online help text is that profiles have an implicit type. The current types are: Individual / Household / Organization / Contribution / Member / Mixed etc. The type is determined by the fields you add to the profile.

With regard to "user registration" / "user account" profiles we only display profiles of type "Individual" (there is a modification which allows you to alternatively display profiles of type Household or Organization). Not sure if your Org Info / Membership Info are of type Individual. I suspect not, based on the names!. Hence they are not being displayed on those pages

If some of the above assumptions are not correct, let us know. if you think there is a bug, can u please try to reproduce on http://sandbox.civicrm.org/drupal/ and we can fix it for 1.8

thanx

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

yopyop

  • I’m new here
  • *
  • Posts: 16
  • Karma: 2
    • PDX Peace
Re: Multiple CiviCRM Profiles in Drupal User Registration
July 19, 2007, 04:59:28 pm
Thanks much, lobo.

I see that if I create another CiviCRM profile with a field of the type 'individual', it shows up.

Is the modification for including Household/Organization profiles documented or available anywhere out there?

I understand better now why what I originally wanted is not possible: Organization and Indivdual are 2 different entities, they may have a relationship between each other, but they are not stored in the same contact info.

But, it seems like people would want to find a way to record this info..

So, it is possible to get Membership information on the registration page, like this - http://www.uas.coop/user/register/
If this is a hack, I'm wondering if anyone knows how it's done.

thanks again for your thoughts on this..
best

barry

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: Multiple CiviCRM Profiles in Drupal User Registration
July 19, 2007, 06:11:11 pm

Barry:

most likely the membership choice field there is just a custom field for individual. they may not be using civimember :(

any specific reason why you dont use a membership page to collect membership information? v1.8 also allows you to create a drupal user from the member information

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

yopyop

  • I’m new here
  • *
  • Posts: 16
  • Karma: 2
    • PDX Peace
Re: Multiple CiviCRM Profiles in Drupal User Registration
July 20, 2007, 01:07:23 am

Quote from: Donald Lobo on July 19, 2007, 06:11:11 pm
most likely the membership choice field there is just a custom field for individual. they may not be using civimember :(

Ah, I see. could that trigger the membership module sign up in any way, or I wonder if it's just manual.

Quote from: Donald Lobo on July 19, 2007, 06:11:11 pm
any specific reason why you dont use a membership page to collect membership information? v1.8 also allows you to create a drupal user from the member information

Don't you mean the membership page will create a CiviCRM entry? I thought only drupal registration would be the only place to create a drupal user - which syncs to CiviCRM, but not the other way around. When you say "v1.8 also allows you to create a drupal user from the member information", do you mean that this is the case with v1.7 as well? How can the registration process happen with the membership page unless drupal is getting a username (unless there is a field for that in CiviCRM, even custom, and it can be passed to drupal) ?

Anyway, here's a membership pages I had previously built - one for individual -
http://www.pdxpeace.org/civicrm/contribute/transact?reset=1&id=3

(you'll have to scroll down to the bottom of the page to see the membership form due to a bug in the theme that I haven't fixed quite yet)

and one for organizational member -
http://www.pdxpeace.org/civicrm/contribute/transact?reset=1&id=2

They are not collecting registration information for drupal - not sure how they could.

I guess I've been looking for the holy grail of mailing list/newsletter synced to web CMS(drupal) synced to contact database (membership) and be able to have all that information in one place, I know it's possible, and I'll keep on trying to figure it out.. So many nonprofits and advocacy groups need this..

Thanks again for your time and help. I see your posts all over regarding CiviCRM, it's great that you are developing and helping people like me.

best

barry

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: Multiple CiviCRM Profiles in Drupal User Registration
July 20, 2007, 12:24:15 pm

Barry:

If i had to guess UAS is manual :) You can always write a custom script to trigger a process based on a value in a custom field etc

There is an option in v1.8 (in alpha right now), that will ask for a drupal username if enabled and the user is not logged in. This has been a requested feature in the past and hence has been built into CiviCRM :). We still use Drupal API's to accomplish the needful and follow the drupal user creation process that way. This feature is NOT part of v1.7

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) »
  • Multiple CiviCRM Profiles in Drupal User Registration

This forum was archived on 2017-11-26.