Calling node_load from within template
Posted by el_reverend on October 26, 2011 at 8:28pm
Does anybody know of the implications of using node_load() in a template and have a better suggestion?
Some details:
I have a cck content type that uses the cck reference field to link to a node manually entered (intentionally) by an editor. I am using that nid via node_load() to get a image from the referenced node and display it together with the title. This 'related post' block is a curated list of other posts related to the current one.
Read more