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.
Hi,
how I can import multiple values from a cck date field?
The values are
start date
end date
Thanks.
Comment | File | Size | Author |
---|---|---|---|
#3 | importdatemodule.zip | 803 bytes | Jv2012 |
Comments
Comment #1
Sorin Sarca CreditAttribution: Sorin Sarca commentedHere you have an example: http://drupal.org/node/1442500#comment-5700756
What you have to do is to create a function which returns an object with desired properties:
Comment #2
Jv2012 CreditAttribution: Jv2012 commentedThanks,
i will try it
Comment #3
Jv2012 CreditAttribution: Jv2012 commentedI've tried it, but I do not know how to do it
My issue is the same, I have a stardate and enddate field
1. I have created a module to import the date (importdatemodule)
2. I have enabled it
3. Field Xpath (stardate | endate)
4. Filter (convert_to_date_field)
5. Run Feed Import
but does not work
I would fix it, because I think this module is very interesting
Thanks.
Comment #4
Sorin Sarca CreditAttribution: Sorin Sarca commentedI think you have other xpath's, please post your xml structure (the one you want to import) so I can help you.
Comment #5
Jv2012 CreditAttribution: Jv2012 commentedThis is my structure
Comment #6
Sorin Sarca CreditAttribution: Sorin Sarca commented