Page 1 of 1
0.8-alpha12 - entry footer without author's name
Posted: Sun Feb 27, 2005 3:14 pm
by Marcel
I'am going to despair ...
I've 0.8-alpha12 installed - allmost everything works perfect!
But I can't figure out why the author's name in the entry footer isn't shown!?!? It just says
"Geschrieben von in Kategorie XXX ..." ("Posted by in Kategorie XXX ...")
(instead of "Geschrieben von Frank Zappa in Kategorie XXX ..."
Any idea and/or hint?
Thanks, Marcel
Re: 0.8-alpha12 - entry footer without author's name
Posted: Sun Feb 27, 2005 3:50 pm
by garvinhicking
Which template are you using?
Tom Sommer committed a patch to use realnames in the templates from alpha11 -> alpha12. Sadly the upgrader didn't yet tell you of this. This was fixed just this minute, and it emits this warning:
Code: Select all
0.8-alpha12 - TEMPLATE_NOTICE: The template file "entries.tpl" has changed.
Authors can now have longer real names instead of only their loginnames. Those new fields need to be displayed in your Template, if you manually created one. Following variables were changes:
{$entry.username} => {$entry.author}
{$entry.link_username} => {$entry.link_author}
Those variables have been replaced in all bundled templates and those in our additional_themes repository.
Manual user interaction is required! This can NOT be done automatically!
Regards,
Garvin
Re: 0.8-alpha12 - entry footer without author's name
Posted: Sun Feb 27, 2005 4:58 pm
by Marcel
garvinhicking wrote:Which template are you using?
I'm using Tom Sommer's MT3-Independence (and a modified copy of it).
This template doesn't have a file "entries.tpl". So I copied the one from the default template and made the modifications as you mentioned above.
No way - still saying nothing in the entry footer about the author
Do you have another idea how I could fix the problem?
Regards, Marcel
Posted: Sun Feb 27, 2005 6:36 pm
by Marcel
I've found a solution for this problem:
In "entries.tpl", beginning in Line 44 i've changed
Code: Select all
...
{if $dategroup.is_sticky}
{$CONST.ON}
{else}
{$CONST.AT}
{/if} <a href="{$entry.link}" ...
to
Code: Select all
...
{if $dategroup.is_sticky}
{$CONST.ON}
{else}
{$CONST.ON}
{/if} <a href="{$entry.link}" ...
Don't know if this is "state of the art" - but it works!
Posted: Mon Feb 28, 2005 2:50 pm
by garvinhicking
Hm, do you have an URL to look at this? What you've changed shouldn't have been a problem.
If you recently upgraded to alpha12, can you please see if your Table serendipity_authors contains a column 'realname' and that it's filled with the proper realnames of your authors?
You're using MySQL?
Regards,
Garvin