Page 1 of 1

Problem with Author info

Posted: Fri Jul 22, 2005 8:33 pm
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.

Re: Problem with Author info

Posted: Sat Jul 23, 2005 4:05 pm
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

Posted: Sat Jul 23, 2005 5:39 pm
by Bill E
That worked. thank you! :lol:

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