Problem with Author info

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
Bill E

Problem with Author info

Post by Bill E »

I'm not very familiar with CSS or PHP for that matter but I've managed to edit a template to my liking.

However I cannot figure out why the author name doesn't show up on the home page of the blog but it does show up on the extended pages.

For instance: on homepage it displays as the following for each entry:

Posted by in PPC Management at 08:38

On the extended page it displays as:

Posted by BillE in PPC Management at 08:38

I also want it to appear like the second example on the home page. I'd also like to get rid of that timestamp but I'm not sure what code to remove.

Blog is at http://ppcstudy.com

If anyone is willing to help, let me know what files you need and I'll post them here. Thank you.

Bill E.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Problem with Author info

Post by garvinhicking »

It seems you modified the entries.tpl file? The variable {$entry.author} is used to show the author information. It must be within the foreach $entries loop, did you make sure of that? I don't really understand why it doesn'T show the name for you, in the default template verything works?

BTW, entries.tpl is the place where you can remove the time. Look at the {$CONST.POSTED_BY} variable, it should also be near there.

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Bill E

Post by Bill E »

That worked. thank you! :lol:

I don't remember making changes to that section but I must have.
Post Reply