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) »
  • Cities / Address from list
Pages: [1]

Author Topic: Cities / Address from list  (Read 1856 times)

Pal ur

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
Cities / Address from list
October 03, 2008, 10:44:07 am
Hi,

thank you for the CiviCRM version 2.1. I'd like to ask, is it possible to set up, that in the address section at a new individual, organization or household the city names and / or the address names can bee chosen from a list, like the "Country" and "State/Province" fileds?

I've tried with custom data field, but I'm new, I think, I haven't found the right solution.

Thank you for your help!

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Cities / Address from list
October 03, 2008, 01:46:48 pm
You would have to hack the code to do this. Modify the php file which defines those two form elements -

CRM/Contact/Form/Address.php  - buildAddressBlock()

In 2.1 you can define a "Custom PHP Path Directory" and put your customized version of that file there.
Protect your investment in CiviCRM by  becoming a Member!

Pal ur

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
Re: Cities / Address from list
October 04, 2008, 03:27:44 am
Thank you for the advice.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Cities / Address from list

This forum was archived on 2017-11-26.