How to I add my own headings in navigation?

Use this forum to ask questions about how to do things in GuMax skin.
User avatar
Ross
Rank 1
Rank 1
Posts: 5
Joined: November 20th, 2007, 9:09 pm

Re: How to I add my own headings in navigation?

Post by Ross »

Works fine for me. I'm using MW 1.12 & GuMax 3.4.1 if that helps. I went to mediawiki:sidebar and saw something different then was up top but when I made the changes and saved them it worked fine. Paul's links up top are the same as what is shown in his sidebar: http://paulgu.com/wiki/MediaWiki:Sidebar

Regarding my question about removing the title and actions items (in case anyone is interested or has a better idea):

I haven't been able to find a way to remove the title from specific pages (like you easily can in Monobook) but I was able to remove the title from all pages along with the action items (discussion, history, etc,) right below it by removing the following from gumax.php (starting at line 217). Doing so still leaves the action items at the bottom for users who are logged in, which is really sweet:
<!-- gumax-content-actions -->
<div class="gumax-firstHeading"><?php $this->data['displaytitle']!=""?$this->html('title'):$this->text('title') ?></div>
<div class="visualClear"></div>
<?php //if($this->data['loggedin']==1) { ?>
<div id="gumax-content-actions" class="gumax-content-actions-top">
<ul>
<?php $lastkey = end(array_keys($this->data['content_actions']))
?><?php foreach($this->data['content_actions'] as $key => $action) {
?><li id="ca-<?php echo htmlspecialchars($key) ?>" <?php
if($action['class']) { ?>class="<?php echo htmlspecialchars($action['class']) ?>"<?php }
?>><a href="<?php echo htmlspecialchars($action['href']) ?>"<?php echo $skin->tooltipAndAccesskey('ca-'.$key) ?>><?php
echo htmlspecialchars($action['text']) ?></a><?php // if($key != $lastkey) echo "&#8226;" ?></li>
<?php } ?>
</ul>
</div>
<?php //} ?>
<!-- end of gumax-content-actions -->
User avatar
jasonbrisbane
Rank 0
Rank 0
Posts: 1
Joined: April 28th, 2008, 9:02 am

Re: How to I add my own headings in navigation?

Post by jasonbrisbane »

Hello,

To modify the navigation menu from:
*navigation
**mainpage|mainpage
**currentevents|currentevents
etc..

simply type the following in the address bar:

../index.php/Mediawiki:currentevents

and it will show you a page with two words on it:
"Current Events"

Click Edit and retype what you want it to say.

(And I've learnt that from less than 10 minutes using paul's Gumax skin.

Thanks Paul for a Fantastic Skin. Easily Modifyable, pleasant to look at! Thanks!

Regards,
Jason Brisbane
http://darkeen.homelinux.com - a work in progress
Post Reply