Problem with Author info

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

Problem with Author info

Post by Bill E » Fri Jul 22, 2005 8:33 pm

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

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

Bill E.

User avatar
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany

Re: Problem with Author info

Post by garvinhicking » Sat Jul 23, 2005 4:05 pm

It seems you modified the entries.tpl file? The variable {$} 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.

# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy:
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby:

Bill E

Post by Bill E » Sat Jul 23, 2005 5:39 pm

That worked. thank you! :lol:

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

Post Reply