Hey, Is there are reason why you left the printing of node titles out of the specialty node templates?
Also, why did you use the $body variable, which seems not to work in teaser lists, instead of the $content variable like the preprocessor from theme.inc provides?
I have added:
<?php (!$page) ? print "<h1 class='page-title ".$node->type."-title'>".l($node->title,'node/'.$node->nid).'</h1>':''; ?>
and I changed $body to $content in order to get the theme rendering output on teaser lists.
Am I missing something though? Does the $body work for you on the "http://example.com/node" page? Do I need to configure something to get it to work properly?
Thanks, Derek
Comments
Comment #1
irakli commentedThis should not be a problem in the latest CVS build.