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 »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Organizations Fields Not Showing on Online Registration Pages when logged in.
Pages: [1]

Author Topic: Organizations Fields Not Showing on Online Registration Pages when logged in.  (Read 1259 times)

bchastain

  • Guest
Organizations Fields Not Showing on Online Registration Pages when logged in.
January 02, 2008, 03:02:41 pm
I reproduced this issue on the test server

http://demo.civicrm.org/drupal/civicrm/event/register?id=210&reset=1

It shows when logged out but not when logged in.  I have the organization field set for "public user pages"


Is this a bug?

The event that I setup in the test server is "test org" and the profile I setup is "test org".

Any help would be much appreciated.

Best.

Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: Organizations Fields Not Showing on Online Registration Pages when logged in
January 02, 2008, 10:12:17 pm
The reason for profile not shown on Event page is because you have added a mix profile to it, i.e you have Organization Name in profile. We don't support mixed profiles (that is Individuals, Organizations, Household fields bunched together).

I think the behavior for anonymous user should be the same as logged in user. This looks like a bug. Can you file this bug in JIRA.

thanks
-Yashodha
« Last Edit: January 02, 2008, 10:15:29 pm by Kurund Jalmi »
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

bchastain

  • Guest
Re: Organizations Fields Not Showing on Online Registration Pages when logged in
January 03, 2008, 07:46:34 am
Yash...

I don't believe that I did that.  Right now I'm working with a profile where everything is "Organizations" fields and it will not show for logged in users.  I tweaked with it yesterday for a good 8+ hrs but no dice.

I guess a question then would be:

Can you use Organizations fields for use with online registration forms?  Perhaps if you could go a step further and try it on your installation that would be most helpful.  Just simply try to add one Organizations field such as Organization name and have that as a profile for online event registration and see if it shows up for you.  It doesn't show up for me with the latest installs of drupal and civicrm.  If you can't get it to work and it should work, I can have a guy that I works with see if he can't fix the bug.  If it's not a bug then perhaps I need to just use fields from "individuals" for online event registration???  I noticed that fields from household didn't work either while testing.

And I do understand (just for the record) that you can't mix different types of fields such as organizations with individuals in the same profile.

Many thanks in advance.  Awaiting your reply(ies)

Best.

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: Organizations Fields Not Showing on Online Registration Pages when logged in
January 03, 2008, 04:57:53 pm

IMO, this is not a bug but a feature :)

A logged in user has a contact type (individual, organization or household). In the past our assumption has been that these are individuals (though we've moved away from this assumption, some bugs are probably still present). When displaying a page, we check the contact type and will display ONLY profiles that match the contact type. Thus we dont show organization profiles for contacts of type individual

An anon user has no type, hence the organization profile is shown and hopefully an organization record will be created (not sure of this)

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 »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Organizations Fields Not Showing on Online Registration Pages when logged in.

This forum was archived on 2017-11-26.