0.8-alpha12 - entry footer without author's name

Found a bug? Tell us!!
Post Reply
Marcel
Regular
Posts: 22
Joined: Sun Feb 27, 2005 2:56 pm

0.8-alpha12 - entry footer without author's name

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: 0.8-alpha12 - entry footer without author's name

Post 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
# 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/
Marcel
Regular
Posts: 22
Joined: Sun Feb 27, 2005 2:56 pm

Re: 0.8-alpha12 - entry footer without author's name

Post 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
Marcel
Regular
Posts: 22
Joined: Sun Feb 27, 2005 2:56 pm

Post 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!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# 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/
Post Reply