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) »
  • State and Country codes via billing address - possible to tweak?
Pages: [1]

Author Topic: State and Country codes via billing address - possible to tweak?  (Read 1268 times)

backdrifting

  • I post frequently
  • ***
  • Posts: 178
  • Karma: 2
State and Country codes via billing address - possible to tweak?
May 19, 2008, 09:40:05 am
So I'm noticing that when we export our CiviEvent and CiviContribute data via CSV file, the state and country fields are outputting the corresponding code numbers from the database.  Is it possible to export these fields so it has "USA" vs. having the code # for USA; or for having "Massachusetts" vs. having the code # for Mass? 

Is this an easy tweak?

Running version 1.9 on Drupal 5.7.

Thanks.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: State and Country codes via billing address - possible to tweak?
May 19, 2008, 01:01:52 pm
I think this is related to a problem w/ certain version(s) of PHP. Export is supposed to spit out state and country abbreviations. If you do a search on this forum i think there will some related posts.
Protect your investment in CiviCRM by  becoming a Member!

backdrifting

  • I post frequently
  • ***
  • Posts: 178
  • Karma: 2
Re: State and Country codes via billing address - possible to tweak?
May 19, 2008, 01:18:44 pm
There's not much on the forums.  This is the closest I found:

http://forum.civicrm.org/index.php/topic,3058.0.html

... and that's not very helpful.  It appears this is a version issue.  Sounds like the new version corrects this behavior?  We're running version 1.9.  Doesn't appear that there's an easy fix to this.


backdrifting

  • I post frequently
  • ***
  • Posts: 178
  • Karma: 2
Re: State and Country codes via billing address - possible to tweak?
May 19, 2008, 01:56:42 pm
Does anyone know if there's a conversion tool to do this - to convert the code # to the correct abbreviation?

Would a CiviCRM programmer be interested in this type of project?


Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • State and Country codes via billing address - possible to tweak?

This forum was archived on 2017-11-26.