use the Header-Logo

Use this forum to ask questions about how to do things in GuMax skin.
Post Reply
User avatar
MeNot
Rank 0
Rank 0
Posts: 3
Joined: April 29th, 2008, 10:29 am

use the Header-Logo

Post by MeNot »

Hi

I doint get it. I've installed (and fixed the width of the design in the CSS, thanks to one topic here) but cant figure out how the Header-Logo-thing works.

I've have to save a Picture zu the images/header/ location by the name of the Page right? I have to say, that I use a German Version of MediaWiki so my Mainpage doesnt call "Mainpage". Its called "Hauptseite". But if I upload a Picture called "hauptseite.jpg" in this dir nothing changes.

Do I have to change something else so I can use the Header-Image-Function? I cant find any Topic to this here, so it might be a very dumb question for you =)


bye
User avatar
MeNot
Rank 0
Rank 0
Posts: 3
Joined: April 29th, 2008, 10:29 am

Re: use the Header-Logo

Post by MeNot »

hello?

someone?
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: use the Header-Logo

Post by Paul »

This is new to me, but it should work as expect.

Try to view the source code to see if the image code are generated properly.
User avatar
MeNot
Rank 0
Rank 0
Posts: 3
Joined: April 29th, 2008, 10:29 am

Re: use the Header-Logo

Post by MeNot »

I figured it out:

He looks for a file named:
/www/htdocs/w009dd78///skins/gumax/images/header/hauptseite.*

(*jpg, gif or png)

I think the problem is the "/w009dd78///skins/" part. Because the Line
$_SERVER['DOCUMENT_ROOT']."/".$this->data['stylepath']
integrates 3 Slashes.

I modify the line to:
substr($_SERVER['DOCUMENT_ROOT'],0,-1).$this->data['stylepath']

Now it works fine.
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: use the Header-Logo

Post by Paul »

Great! This is interesting situation. :)
Post Reply