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) »
  • Discussion »
  • Extensions (Moderators: mathieu, totten, kasiawaka) »
  • Extension to manage Countries, Provinces and World regions
Pages: [1]

Author Topic: Extension to manage Countries, Provinces and World regions  (Read 509 times)

rubofvil

  • I’m new here
  • *
  • Posts: 23
  • Karma: 1
  • CiviCRM version: 4.2.7
  • CMS version: Drupal 7
  • MySQL version: mysql 5.1
  • PHP version: php 5.2
Extension to manage Countries, Provinces and World regions
February 27, 2014, 08:58:35 am
We need a extension to manage the Countries, Provinces and Worldregion from CiviCRM

My idea is do it a form(UI) to manage this three components.

The tables that contain this information are civicrm_worldregion, civicrm_state_province, civicrm_state_province

The idea is that this must work in a not clean installation(with contacts and addresses filled) and don't corrupt the data.

- In the three tables preserve the currents rows civicrm_country.id, civicrm_state_province.id, civicrm_worldregion.id(To avoid corrupt the data). And the posibility to alter the field name from this tables.
- Give the possibility to add rows in the three tables
 Add new World regions: name.
 Add new Country: name, iso_code(validation UNIQUE), region_id(with a select from Worl regions )
 Add new State/Province: name, abbreviation(validation UNIQUE), country_id(with a select from Country )

I'm missing something, or the development need to be in another way?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Extension to manage Countries, Provinces and World regions
February 27, 2014, 09:33:55 am
This could potentially be added to core as an admin menu item under Localization.

Also, you may want to check with Mathieu Lutfy and others who are active in i18n issues to see if it would be useful to expose any of the other fields in the civicrm_country table (NDD and IDD prefixes, address format).
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Extensions (Moderators: mathieu, totten, kasiawaka) »
  • Extension to manage Countries, Provinces and World regions

This forum was archived on 2017-11-26.