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) »
  • New Individual (New Contact)Form: Can I adjust relative weights of Field Groups?
Pages: [1]

Author Topic: New Individual (New Contact)Form: Can I adjust relative weights of Field Groups?  (Read 935 times)

farmrchrys

  • I post occasionally
  • **
  • Posts: 92
  • Karma: 2
    • Spokane Moves to Amend the Constitution (under development)
  • CiviCRM version: CiviCRM 4.4.6
  • CMS version: Drupal 7.31
  • MySQL version: MySQL 5.5.37
  • PHP version: PHP 5.3.28
New Individual (New Contact)Form: Can I adjust relative weights of Field Groups?
March 08, 2008, 07:06:45 pm
I'm using CiviCRM 1.9. On the "New Individual" form (and organization, etc.) there are some of the default field groups like "Name and Greeting" and "Communication Preferences", then I have a collection of custom fields and then waaaay down near the bottom is where the rest of the default field groups such as "Primary Location" and "Address" show up. I want the custom fields there, but is there a way to adjust the relative weights so these default field groups at the bottom appear above the custom field groups?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: New Individual (New Contact)Form: Can I adjust relative weights of Field Gro
March 08, 2008, 07:11:18 pm
Two options:
1. Use tab(s) for your custom fields (set Display = Tab in the Settings form for the custom data group(s) ). This remove them from the main edit form completely.

2. Create a customized version of the Edit Contact form using the procedure documented here:
http://wiki.civicrm.org/confluence/display/CRMDOC/Customize+Built-in+and+Profile+Screens

You'll be making a custom copy of templates/CRM/Contact/Form/Edit.tpl - and just moving these lines down:
Code: [Select]
{* Conditionally insert any inline custom data groups *}
{include file="CRM/Contact/Page/View/CustomData.tpl" mainEditForm=1}
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • New Individual (New Contact)Form: Can I adjust relative weights of Field Groups?

This forum was archived on 2017-11-26.