Page 1 of 1
How to show Author Name at bottom of article ?
Posted: Fri Nov 09, 2007 10:37 am
by ndclarte
Hi,
Is there an option to automatically show the author name of articles ?
Thanks
Posted: Fri Nov 09, 2007 10:53 am
by carl_galloway
I'm not sure I get your meaning, all entries and static pages have that built in by default. What template are you using? It's possible this has been removed.
Posted: Fri Nov 09, 2007 10:56 am
by ndclarte
Template used is: Freshy
Website is:
www.ecole-ndclarte-combrit.fr
Regards
Posted: Fri Nov 09, 2007 12:47 pm
by yellowled
The Freshy template indeed doesn't seem to show the author's name in the footer. But we can of course fix that
Open /templates/freshy/entries.tpl in an editor and find this part:
Code: Select all
<small class='postmetadata'>
{if $entry.has_comments}
Edit it to look like this:
Code: Select all
<small class='postmetadata'>
{$CONST.POSTED_BY} <a href="{$entry.link_author}">{$entry.author}</a><br />
{if $entry.has_comments}
This puts the author "byline" right above the comments line which I think makes sense in this particular template. If you want it to be displayed elsewhere, just say so

However, remember that these changes might be overwritten by a possible, yet unlikely updated version of Freshy, so keep a backup of the entries.tpl.
YL