i have tried to override the teaser of 'story' content type with just this (just to test):
?php print $node->comment ? (skipped the brackets for this comment's purpose)
But when I go to my home pae I still see the title of the teaser and meta data like submitted by etc. However the content inside the teaser does get overriden. I was expecting entire content to be overriden.
Please help.
Comments
Comment #1
jrglasgow commentedWhy? drupal.org provides context highlighting when you put your code in 'code' tags, or in php brackets, i.e.:
print $node->commentThe node title and meta data (created by, etc...) are not part of the content. Content Templates only effects the content part of the node.
Comment #2
chandrabhan commentedThanks. Is there any way to suppress at least the meta data if not the the title? (by any other means)