: : :

Add Comment | Related Links | TrackBack
Related Content

Getting rid of the logo on your MediaWiki

I recently installed MediaWiki 1.7.1 on my web server. But I wanted to get rid of the logo on the top left hand side of the layout. The logo took up space and is really unnecessary. I rather use that space for navigational side bar. I got rid of it by using the commenting out the following code, using PHP in the MonoBook.php file (hopefully you have made a copy of it).

<div class="portlet" id="p-logo"><br>
<a style="background-image: url(<?php $this->text('logopath') ?>);" <?php<br>
?>href="<?php echo htmlspecialchars($this->data['nav_urls']['mainpage']['href'])?>" <?php<br>
?>title="<?php $this->msg('mainpage') ?>"></a><br>

The only problem with this method is that the logo is gone, but the sidebar didn't move up to take the logo's place. Look like it has to be tweaked some more.

Chieh Cheng
Thu, 17 Aug 2006 14:42:05 -0700

Add Comment | Related Links | TrackBack
Related Content

Did your message disappear? Read the Forums FAQ.

Add Comment

Spam Control | * indicates required field
Your Name: *
Remember Me!
Comment: *
File attachment is optional. Please do not attach a file to your submission unless it is relevent.
Attach File:
(20 MB Max)
Spam Protection: * Answer of 1 + 5?
Click button only once, please!


TrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites.

Send Ping | TrackBack URL | Spam Control

No TrackBacks yet. TrackBack can be used to link this thread to your weblog, or link your weblog to this thread. In addition, TrackBack can be used as a form of remote commenting. Rather than posting the comment directly on this thread, you can posts it on your own weblog. Then have your weblog sends a TrackBack ping to the TrackBack URL, so that your post would show up here.

Messages, files, and images copyright by respective owners.

Articles | Wiki
Forums | Latest | RSS
Library | Links | News
Search | Store | Help

45 Users Online

Hacking Digital Cameras
Fun for Photographers

Amazon Associate

Copyright © 2004 - 2022. All Rights Reserved.