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

alex72rm’s picture

Status: Active » Closed (fixed)

I solved by myself:

print node_view(node_load($nid), TRUE, FALSE, FALSE);

jrglasgow’s picture

that's what I was going to suggest