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) »
  • Profile Group Weights
Pages: [1]

Author Topic: Profile Group Weights  (Read 1113 times)

jockox3

  • Guest
Profile Group Weights
February 18, 2009, 03:38:34 am
Back into the CiviCRM fray after a while away...

Maybe I'm being a bit dim here.  I've searched through forums and issues and so on and whilst some come close, I cannot find an answer to this.

In the CiviCRM Profile definition screens there is a field for "weight" which, I presume, is meant to let you define the order in which particular Profile sections appear in any resultant form.  There does not appear to be a corresponding database column in the civicrm_uf_groups table.  And it indeed appears to have no effect - it looks to me as if the Drupal registration form is simply rendering the CiviCRM profiles in alphabetical order of their titles.

Is there meant to be a way of controlling the order they appear in?  It seems like quite a plausible use case.

I'm using CiviCRM 2.1.4 on Drupal 6.8

Cheers,

Jock

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Profile Group Weights
February 18, 2009, 11:21:21 am
Jock:

I don't think we use weight field for ordering profiles on Drupal Registration page. Can you file an issue for this in jira.

thanx

Kurund
Found this reply helpful? Support CiviCRM

jockox3

  • Guest
Re: Profile Group Weights
February 18, 2009, 11:29:42 am
Will do - I don't think it matters on which side of the fence you look at it - there doesn't appear to be a "weight" field in the underlying table - so I presume it's not going to work anywhere.

I have of course got round it by lettering my profiles in the order I want them to appear, but I will file it if you like!

Cheers,

Jock

jockox3

  • Guest
Re: Profile Group Weights
February 18, 2009, 11:47:56 am
Certainly looks like it in my 2.14 version - it's called "Order" on the form:

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Profile Group Weights
February 18, 2009, 11:50:57 am
Weight is stored "by profile / entity instance" in the civicrm_uf_join table. (I know, weird naming ....).

So if profiles are "Used For" Drupal User Registration - there will be an entries in that table with the weight(s).

I just did a test in my local 2.2 install - and the Order I entered in each profile's settings does work to set the order in User Registration. Lower order (weight) appears above higher order in the user registration form.
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Profile Group Weights

This forum was archived on 2017-11-26.