Active
Project:
Content Templates (Contemplate)
Version:
7.x-1.0-rc3
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Oct 2011 at 23:52 UTC
Updated:
25 Oct 2011 at 22:36 UTC
Jump to comment: Most recent
Comments
Comment #1
Anonymous (not verified) commentedHi !
You shouldn’t use a free (?) text field as a foreign key to another node for many reasons (performance, maintainability etc.).
You should use a node reference field in your Concert content type. Therefore, in the template, you get the nid to a Record content type node that you can easily retrieve via node_load($nid).
Comment #2
amogiz commentedThanx Zigazou.
I managed using node_load and it works fine :)
Thax for the tip !