Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I've posted a ticket in the Feeds module issue queue #974640: Mapper support for the Addresses module, but this may also be able to be incorporated directly into the Addresses module.
What do you think?
Comments
Comment #1
AlexisWilke CreditAttribution: AlexisWilke commentedI guess that as a separate sub-module, it would work in the Addresses module too.
Is the mapper expected to be capable of copying content X, Y and Z in field A, B and C and the user can actually control that? If so, the mapper may still be a better bet.
Thank you.
Alexis Wilke
Comment #2
socki CreditAttribution: socki commentedThis is just implementation of the necessary hooks which the Feeds module requires to expose Mapping from any Addresses fields a user creates. It will allow the user to assign content from the feeds they import into the cck field. This isn't a submodule, just two functions which can be added the the Addresses module.
Comment #3
AlexisWilke CreditAttribution: AlexisWilke commentedsocki,
Would these two functions going in addresses.module then?
Or is there another file that's more appropriate?
Thank you.
Alexis
Comment #4
socki CreditAttribution: socki commentedThey can go into the addresses.module. There is not file naming convention which the feeds module knows to look for automatically. If you want to keep them in a separate file, then you will need to do a module_include or something like that.
-T
Comment #5
AlexisWilke CreditAttribution: AlexisWilke commentedOkay, it's checked in 1.x-dev. 8-)
Since it should not generate any problem to the rest of addresses whether it works or not... but it looks fine anyway.
Thank you.
Alexis Wilke
Comment #6
socki CreditAttribution: socki commentedExcellent.. Thanks.