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.
What I want:
I have a feed with 2 CCK Text fields (source_feed_name and source_feed_url) and I want all nodes created by the feed to inherit these 2 values. I created a type (newsitems) and added 2 CCK fields (source_name and source_feed).
The problem:
How do I link/map these CCK fields so this module automatically copies the value? Giving them the same id doesn't work in CCK. (that isn't allowed)
Comment | File | Size | Author |
---|---|---|---|
#1 | Picture 3.png | 13.5 KB | ademarco |
Comments
Comment #1
ademarco CreditAttribution: ademarco commentedYou have to edit the feed node and specify, in the "Inherit Fields" fieldset, which fields you wish to be inherited. In the example I've attached: I want all my feed items to inherit "City" and "Page" field values from the feed node.
Comment #2
weseze CreditAttribution: weseze commentedOK, I didn't know you could reuse CCK fields in other content types by creating an existing field...
Comment #3
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedso you have to add the cck fields to the feed node (node that creates the feeds), set its value.
Then goto the same feed node and under feed inherit, check the fields that you would want.
If that is the case, i could copy my content type, make a feed node from it, put in default terms, and use this module to have all new feed nodes inherit the defaults.
is this the case?
Thanks,
Chris
Comment #4
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedI thought this was just me not understanding the module, but now I think it is not working.
1Create a node type, my_node
2. add a content type, field_my_contenttype
3. add a cck field, field_my_cck
4. create a feed type, my_feed
5. add a content type from my_node, field_my_contenttype
6. add a cck field from my_node, field_my_cck
7. goto feed item created by my_feed
8. view feedapi field inherit drop down
9 it is EMPTY. there should be field_my_cck and field_my_contenttype there.
Am I missing something?
thanks,
Chris