By Thoor on
I´d like to use fields from a referenced node in an new node of a different content type.
In Drupal 6 there where several ways to do this Job. i.e. VIEWS ATTACH, NODE REFERENCE FIELD ...
Can anybody give me an module advice, how this can be done in Drupal 7?
Comments
There is the reference module
There is the reference module which includes the node reference field type.
THX ... But I am using
THX nevets ... But I am using References Module already. But i still don´t know how to reference a single field from referenced nodes of different types?
i.e.:
I have a node from type A with a logo field.
Then I create a new node from type B with a node reference field to an node of type A.
And in this new node I want to show automatically the already exisiting logo from the referenced node.
Please i am intrested in the
Please i am intrested in the solution to this, @thoor have you been able to work this out?
Sub
Sub
Hi drupizee ... finally i
Hi drupizee ...
finally i found a solution, that worked for me. The module http://drupal.org/project/cnr builds automatically a backreference to the new node, when creating a node with an node_reference_field.
Based on the automatically created node_reference it is possible to show the nesessary fields in VIEWS 3 with contextual-filters.
I´ve chosen the node_reference as contextual-filters with the standard value: Content ID from URL
With this construction i can show all fields from the referenced node.
hth - greets
i saw this reply just when i
i saw this reply just when i needed it, the module worked like a charm!! What i really wanted to do at first was access other fields from a referenced node, particularly an image field i.e instead of just outputting text. Got it to work though, i had to hard code stuff into the template. so now it not only does that, with the CNR module i can just do the linking from just one node which is awesome! thank you for saving me :d
Hi Drupizee, Could you
Hi Drupizee,
Could you clarify how you hard coded the template file to achieve the result you got?
Cheers,