A patch added for Profile_CSV adds two hooks which allow other modules to extend the output. Because of how custom the output for the location field can be, it would be good to support it.

Comments

damienmckenna’s picture

Status: Active » Needs review
StatusFileSize
new7.21 KB

Here's a preliminary patch, it uses hook_profile_csv_fields(), hook_profile_csv_export() and hook_form_alter() to add support for all of the main fields in the output.

damienmckenna’s picture

StatusFileSize
new7.97 KB

Here's an updated patch that includes the missing 'street' field, fixes the country name and some other general fixes.

podarok’s picture

Version: 6.x-3.1 » 7.x-3.x-dev

all feature requests should be rolled against latest 7.x-3.x-dev and after commit can be backported to 6.x branch

Status: Needs review » Needs work

The last submitted patch, location-n894840-2.patch, failed testing.