Closed (works as designed)
Project:
Simplenews
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Nov 2009 at 14:35 UTC
Updated:
24 Nov 2009 at 12:08 UTC
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
Comment #1
FPrint commentedOK, 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.Comment #2
sutharsan commented