Missing Author Names

GK User
Sat Jun 05, 2010 12:44 am
I've been getting Party Freak set up all week. i've noticed that none of the authors' names are appearing. You see "Written By.." but no author name appears, blog pages or individual article pages.

I've verified that the article manager has this feature enabled.

Joomla 1.5.18
JomSocial 1.6.290


SIDEBAR

one of my partners just saw the new design today, their response...very nice, its just so damn dark. I know there have been roundabouts on the "Lite" version. I would pay for it.
User avatar
Senior Boarder

teitbite
Sat Jun 05, 2010 12:26 pm
Hi

Please send me ftp access details and show me where thous author namem do not show up.
User avatar
Moderator

teitbite
Mon Jun 07, 2010 9:37 am
Hi

I will also need joomla panel access. Site is not reacting to my changes. Got to check if I'm working on the right file.
User avatar
Moderator

teitbite
Tue Jun 08, 2010 5:09 pm
Hi

All looked good. So I've just replaced the code for simple one:

WAS:
Code: Select all
<?php $this->escape(JText::printf('Written by', ($this->escape($this->article->created_by_alias) ? $this->escape($this->article->created_by_alias) : $this->escape($this->article->author)) )); ?>


IS:
Code: Select all
Written by <?php echo $this->article->author ?>



But I think the problem can be with cache. I had to clean cache after every change in php code. Even the database values was not being overwritten.

Please take a look on that and tell me if this is allright.
User avatar
Moderator

GK User
Tue Jun 08, 2010 5:15 pm
PERFECTO!!!

Thank you for your assistance.

Have a great week.
User avatar
Senior Boarder

GK User
Tue Jun 08, 2010 5:18 pm
Hey, I'm sorry,

I just realized that a couple of the articles where there is an Alias, show the users name who submitted it, not the writer who show receive attribution which we typically insert in the alias box.

How should that code be modified for that?
User avatar
Senior Boarder

teitbite
Wed Jun 09, 2010 10:28 am
Hi

For example:

Code: Select all
$author = $this->article->author;
if( trim( $author ) == '' ) {
$author = $this->article->created_by_alias;
} // eof if()

echo 'Written by' . $author;
User avatar
Moderator


cron