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'm working on a site that is using the FAQ Field module and we are looking to migrate the content to another Drupal 7 instance.
When I am creating the mappings for my import feed, the field made of the FAQ Field instance does not show up in the Target drop down list. This is because there is no FAQ Field mapper file to define the field type in /sites/all/modules/feeds/mappers.
I have created this mapper and tested it just enough to have it work on my environment. I'd like to present it here for review, testing, tweaking and what-not.
Comment | File | Size | Author |
---|---|---|---|
#3 | feeds_importing-content-from-faqfield_2053733-3.patch | 2.76 KB | karenann |
#2 | feeds_importing-content-from-faqfield_2053733-2.patch | 2.67 KB | karenann |
#1 | feeds_importing-content-from-faqfield_2053733-1.patch | 2.73 KB | karenann |
Comments
Comment #1
karenann CreditAttribution: karenann commentedI'm not sure if I did this right, so I'd love some feedback.
Important Notes:
Comment #2
karenann CreditAttribution: karenann commentedI realized that I had a few errors. Please review this instead. Changes include:
~ changed split to explode
~ removed trailing line breaks
~ replace tabs with spaces
Comment #3
karenann CreditAttribution: karenann commentedAnother issue resolved:
~ added a continue in the event that the faqfield is blank.
Comment #4
MegaChriz CreditAttribution: MegaChriz as a volunteer commentedMappers for fields or properties provided by a contrib module, should go in that contrib module, so moving this issue to the FAQ Field issue queue.
This patch also needs to be updated to follow these change records:
Comment #5
pifagor