Hot answers tagged

4

You can obviously edit the data directly in the table. Extension https://github.com/CiviCooP/org.civicoop.general.api.country provides an API for Country, you could use that as well


3

The issue is almost certainly that the "County" field is not enabled by default, which suppresses it in the import dialog. Go to Administer menu > Localization > Address Settings, and under "Address Editing", see if the "County" box is checked. If not, check it. Restart your import and the field should appear. I also confirmed your report that County ...


3

I've never done it, but I think Tyrell's SmartyStreets extension provides it. One thing to point out, however, for anyone who does it another way: county names repeat a lot, and the ID numbers of counties in CiviCRM are totally arbitrary, unlike states. The way to look up county is to find the state and then find the county name within the state.


2

You can add custom fields for district. Once you add the field you can map it in the import. see http://gitbook.civicrm.org/organising-your-data/creating-custom-fields.html for how to add the field. I'm not sure just what district is in this case. If the addresses are for a foreign country that has district as part of the address, it may already sort of ...


1

Those two reports work differently. In most reports, there's an array called columns that determines which fields are available. However, to make reports more standard, there's a simple function "getAddressColumns" a report can call if they just need standard address columns. Not all reports can use the standard columns, and not all have been ...


1

Ah yes unfortunately you will need some PHP edits to make that work; Custom reports in CiviCRM are a good way to start getting into the code base though! Here's two references for you: https://sf2012.civicrm.org/sites/default/files/slides/CiviCRM%20Reports-Customize%20and%20Extend.pdf and https://alastaira.wordpress.com/2011/03/17/civicrm-creating-a-...


1

It sounds like you're saying that "district" is the name for a division of a state or province. The American and English term for this is "county", and CiviCRM has built-in support for counties nested within their respective states. In some countries, multiple states will have a county with the same name--for example in the US, 18 states have a "Montgomery ...


Only top voted, non community-wiki answers of a minimum length are eligible