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

jrglasgow’s picture

Status: Active » Closed (works as designed)

(skipped the brackets for this comment's purpose)

Why? drupal.org provides context highlighting when you put your code in 'code' tags, or in php brackets, i.e.:
print $node->comment

The node title and meta data (created by, etc...) are not part of the content. Content Templates only effects the content part of the node.

chandrabhan’s picture

Thanks. Is there any way to suppress at least the meta data if not the the title? (by any other means)