Closed (fixed)
Project:
Content Templates (Contemplate)
Version:
6.x-1.1
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Sep 2009 at 07:39 UTC
Updated:
22 Sep 2009 at 15:19 UTC
Hi,
I need to put out a php-contemplate content.
It works well as normal node output, but I need now to render a node programmatically.
My node has a void body, but a lot of php code into 'Affect body output' section.
If I try with "node_load($nid)" and "print $node->body", it doesnt' work (as expected).
How can I render contemplate 'affect body output' code? Which php snippet code do I need?
Thanks!
Comments
Comment #1
alex72rm commentedI solved by myself:
print node_view(node_load($nid), TRUE, FALSE, FALSE);Comment #2
jrglasgow commentedthat's what I was going to suggest