By theabacus on
I am trying to override the function theme_node_submitted(). I place the code below in my template.php file, but nothing happens. Any help is appreciated.
function phptemplate_node_submitted($node) {
return t('This is a test... !username on @datetime',
array(
'!username' => theme('username', $node),
'@datetime' => format_date($node->created, 'custom', 'M d, y'),
));
}
Comments
Trying clearing your cache
Trying clearing your cache because I had an issue with no seeing my changes and that seemed to have worked. On this page http://drupal.org/node/132442 you will find it saying "Important note! Whenever you add a new theme function or template inside your theme the registry must be cleared!", which I overlooked. Hope that helps.
Ah, yes, that was it. Thanks
Ah, yes, that was it. Thanks for the tip!
Well...
http://drupal.org/project/submitted_by
NancyDru