I am having this awkward bug that trying to produce a field with $node object inside the body.tpl it is not working, while the same prints just fine using the footer.tpl.

I tried to see if there is a difference in the preprocess function, but it seems the same to me.

What I want is to print the teaser of the node in a different place, separated from the $node->body:

<?php print $node->teaser; ?>

Please somebody give me a hint how may this be corrected

Comments

FPrint’s picture

OK, I have solved the puzzle after a while reading, it appears that the function for the body construction uses unset($node->teaser); . So this is no more an issue.

sutharsan’s picture

Status: Active » Closed (works as designed)