Hello,
I'm using Content template module and I'm looking to use a node reference:
node-type A: field_xxx
node-type B: node reference A
Content template node-type B:
print $node->field_xxx[0]['view'] but how to use the node reference in it??
I don't know if I need this module or If I can do it without it.
Thanks :)
Comments
Comment #1
greg.harveyI don't know either, since I've never used content templates before. Sorry. I suggest you move this over there.
Comment #2
junro commentedComment #3
junro commentednode-type A: field_title_france
node-type B: node reference A, the node referrence cck fielk name is: field_lien_fiche
Content template node-type B:
but how to use the node reference in it?? (field_title_france is a cck from node A)
I try:
Any ideas? :)
Comment #4
jrglasgow commentedI guess I really don't know what you are trying to do with this node reference field in contemplate...
really the only advice I can give you is, assuming your node reference field name is
field_node_reference:Comment #5
junro commentedThat's work with that code: :)
Thanks for your help ^^