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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Reordering sections on contact edit form
Pages: [1]

Author Topic: Reordering sections on contact edit form  (Read 875 times)

idmacdonald

  • I post occasionally
  • **
  • Posts: 69
  • Karma: 1
Reordering sections on contact edit form
November 23, 2010, 06:01:33 am
Hi,

I've upgraded a site to CiviCRM 3.1 that used to be on 2.2. The upgrade has gone fairly smoothly. However, in the old version I'd edited some of the relevant .tpl files in order to reorder the different form sections of the contact edit screen. With the new version, there is now the possibility of hiding and showing different sections in the CiviCRM global settings. However, this also means that reordering the form elements is less straightforward. Specifically, I'm looking to put the Communications Preferences section next to the Custom Data section on the form. Actually, there is one custom field that I would ideally like to make appear within the Communications Preferences section of the contact edit form, but I assume that this would be even more work.

I can see that the table civicrm_preferences has a column 'contact_edit_options' with what appears to be a list of form section ID numbers. But editing the value of that field to reorder the elements doesn't seem to affect the form rendering.

Any suggestions on how to do this would be greatly appreciated.

Best wishes,
-Ian

Rajan Mayekar

  • I post frequently
  • ***
  • Posts: 177
  • Karma: 20
    • Rajan's Blogs
Re: Reordering sections on contact edit form
November 23, 2010, 08:33:24 pm
You can override the contact edit screen by overriding tpl files... you may refer this http://wiki.civicrm.org/confluence/display/CRMDOC32/Customize+Built-in,+Profile,+Contribution+and+Event+Registration+Screens
CiviCRM3.3 ( currently in beta2 )  have the  drag and drop interface to change the order of panes on Contact Edit form , here is the issue http://issues.civicrm.org/jira/browse/CRM-6792 ( basically this issue rearrange weight of options values of option group name 'contact_edit_options' )

Rajan

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Reordering sections on contact edit form

This forum was archived on 2017-11-26.