Loading...

mediawiki-l@wikimedia.org

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: [Mediawiki-l] Changing Target Webpage After Clicking the Logo wiki Mon Nov 27 06:22:51 2006

On Sunday, 26th November 2006 at 19:17:36 (GMT +0100), I wrote:

> could please someone remind me how we can change the page
> that gets displayed after visitors click the wiki logo
> in the top-left corner of pages?

Please ignore this, I now remember the solution. It may not
be the cleanest, but it works and I know of no better one.

I edited the file MonoBook.php as follows:

<div class="portlet" id="p-logo">
        <a style="background-image: url(<?php $this->text('logopath') ?>);" 
href="http://URL-you-want.com" title="Description of your desired URL"></a>
</div>

(The second line between the <div> tags is a single unbroken line.)

-- 
Yours,
Alex.
[processed by "The Bat!", Version 3.80.06]
(MediaWiki: 1.6.8 / PHP: 4.4.1 [cgi] / MySQL: 4.1.19-standard)
http://wiki.vdp.sk

_______________________________________________
MediaWiki-l mailing list
[EMAIL PROTECTED]
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l