Posted by alpinejag on February 2, 2007 at 6:43pm
Jump to:
| Project: | GlossyBlue |
| Version: | 5.x-1.0 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
I know this is probably really simple but I just can't figure out where to put the code. I want to display the author of a node in the full node view. I have it being displayed in teaser view on the front page but can't find how to get the authors name to display when viewing the node by itself.
I've put
<?php
print t('!username', array ('!username' => theme('username', $node)))
?>If you need to see it just go to www.bazards.net and you can see the author's name of each node on the front page but when you go to view the node, the name no longer appears.
Thanks in advance.
Comments
#1
After looking at page.tpl.php again I realised that I just had to put the line in again further down for it to show up in full view.