[pmwiki-users] Problems with PageLogoUrl

Ulf Bro ulf.bro at web.de
Thu Mar 29 09:49:49 CDT 2012


> On Wed, Mar 28, 2012 at 3:07 PM, Ulf Bro <ulf.bro at web.de> wrote:
>> I have a problem. I want to include a custom logo. No matter how I
>> set $PageLogoUrl it doesn't work.
>> Not even if I set it to
>> http://localhost/pub/skins/pmwiki/pmwiki-32.gif
>> which is the address of the currently used logo, not even then does
>> it work.
>>
>> Also if I set it to a relative address like
>> $PubDirUrl/skins/pmwiki/pmwiki-32.gif
>> it doesn't work.
>>
>> Alternative skins do work. What do I do wrong?
>
> You have checked that the file is in the appropriate directory and
> readable by the web server?

Yes. They are all chmod 777.

> Can you see the logo file if you put the address directly into your 
> browser?

When I enter http://localhost/pub/skins/pmwiki/pmwiki-32.gif in the
address field of my browser Chrome then I get the pmwiki logo in the
upper left corner of a white page.

> Have you made any changes to the pmwiki skin?

No. But I have downloaded another skin and modified it. It works well. I
can switch between this skin and monobook and pmwiki and all work well.
They all have the PmWiki Logo on them. I thought I would have my own
one.

But as soon as I uncomment the line in local/config.php where it says:

$PageLogoUrl = "..."

nothing works any more. No page is displayed. I had thoght of something
like this:

$PageLogoUrl = "$PubDirUrl/skins/myskin/images/Logo.png"

or alternatively:

$PageLogoUrl = "http://localhost/pub/skins/myskin/images/Logo.png"

which definitely both do not work.

====

Now I have made a workaround.

In the new skin I have changed the line in the .tmpl file such that it
now reads:

<div id='wikilogo'>
 <a href='{$ScriptUrl}'><img src='$SkinDirUrl/images/Logo.png'
  alt='$WikiTitle' border='0' /></a>
</div>

This works perfect. So I personally have no problems.

But it's kind of funny though...

Ulf



More information about the pmwiki-users mailing list