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) »
  • Modifying custom data fields?
Pages: [1]

Author Topic: Modifying custom data fields?  (Read 1026 times)

paco verde

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
Modifying custom data fields?
June 04, 2008, 04:14:44 pm
We have a custom data field attached to our individual contacts to select the country and region the contact belongs in. This field displays the choices in a multiple-select drop down list, which is quite long. The default size of the list box -- 5 rows -- is a bit small.

Is there any way to change the default size of custom data fields?
--
Thanks,

Glenn Gillis
ELAW U.S. Information Technology Manager
Environmental Law Alliance Worldwide
http://www.elaw.org

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: Modifying custom data fields?
June 04, 2008, 04:54:07 pm

This is not customizable in 2.0 and prior. If you file a request (http://issues.civicrm.org/), we'll potentially fix it in 2.1 / 2.2

For now, the easiest way is to edit: CRM/Core/BAO/CustomField.php , line 414. You can up the number 5 to a more reasonable number for your install

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Modifying custom data fields?

This forum was archived on 2017-11-26.