How to show Author Name at bottom of article ?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
ndclarte
Posts: 2
Joined: Fri Nov 09, 2007 10:35 am

How to show Author Name at bottom of article ?

Post by ndclarte »

Hi,
Is there an option to automatically show the author name of articles ?
Thanks
carl_galloway
Regular
Posts: 1331
Joined: Sun Dec 04, 2005 5:43 pm
Location: Andalucia, Spain
Contact:

Post 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.
ndclarte
Posts: 2
Joined: Fri Nov 09, 2007 10:35 am

Post by ndclarte »

Template used is: Freshy
Website is: www.ecole-ndclarte-combrit.fr

Regards
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Post by yellowled »

ndclarte wrote:Template used is: Freshy
Website is: www.ecole-ndclarte-combrit.fr
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
Post Reply