I have looked over all other forums on this topic but I cant seem to figure out what to do. I need to change my bylines so instead of a username it just appears as a name, like Bob Smith instead of bsmith12 or something. I found where to change it in my coding of node.tpl.php where it says:

print t('!date — !username', array('!username' => theme('username', $node), '!date' => format_date($node->created)));

But I don't know what to change it to to make it the way I want it. Can someone help out and tell me what to change the code to?

Thanks

Comments

nevets’s picture

You might want to check out http://drupal.org/node/122303 which talks about this issue including ways to do this.

jsmccul1’s picture

I looked at that node and tried adding the code in template.php and it didn't seem to work...is there any way I could just rewrite that one line I put above? Sorry I'm new to drupal and I'm not great at computer programming in general.

Magnity’s picture