[Moin-user] logo_string not working with balanced theme?

George Oliver georgeolivergo at yahoo.com
Thu Sep 4 03:24:14 EDT 2008

hi, I have an odd problem -- anything I set for logo_string doesn't affect the wiki, if using the Balanced theme. 

In my wikiconfig.py I have something like this:

    # Wiki identity ----------------------------------------------------

    # Site name, used by default for wiki name-logo [Unicode]
    sitename = u''

    # Wiki logo. You can use an image, text or both. [Unicode]
    # For no logo or text, use '' - the default is to show the sitename.
    # See also url_prefix setting below!
    logo_string = u'Test me<img src="http://matingball.com/wiki/balanced/img/headerlogo2.png" alt="logo">'

If I'm using say the Classic theme, the logo_string appears fine and is clickable. 

When I switch to the balanced theme, the logo isn't there. If I right-click on the logo area to see the background image, I get this:

"The requested URL /wiki//balanced/img/headerlogo.png was not found on this server."

In balanced.py this is the beginning of the header:

        html = [
            # Pre header custom html
            # Header
            u'<div id="header">',
            u'<div id="mastwrap"><div id="masthead">',

I've tried uncommenting self.logo() but that doesn't make a difference. 

Can anyone tell why logo_string works in themes other than Balanced in our wiki?

The resulting problem is that while I can show a logo if I call the logo headerlogo.png, the logo currently isn't clickable as a link to the front page of the wiki. 

thanks, George


More information about the Moin-user mailing list