Clickable menu items on GuMaxDD 1.4

Use this forum to ask questions about how to do things in GuMax skin.
Post Reply
User avatar
John B
Rank 1
Rank 1
Posts: 9
Joined: September 2nd, 2011, 5:58 am

Clickable menu items on GuMaxDD 1.4

Post by John B »

Hi, I am using GuMaxdd 1.4 and I love it. I think it would be even better if it had clickable main menu items which link to articles. I especially want a clickable Home page link in the drop down series. I am sure you could create clickable menu link just by changing few codes. Could you tell me which codes should I change and where?

Thanks.
User avatar
jesco
Rank 0
Rank 0
Posts: 4
Joined: October 17th, 2011, 8:17 pm

Re: Clickable menu items on GuMaxDD 1.4

Post by jesco »

Did u ever edit them? If so, How?
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Clickable menu items on GuMaxDD 1.4

Post by Paul »

GuMaxDD 1.1 supports clickable... you can use script from GuMaxDD 1.1 to replace the new GuMax menu script.
User avatar
krabina
Rank 4
Rank 4
Posts: 20
Joined: June 8th, 2009, 7:14 am

Re: Clickable menu items on GuMaxDD 1.4

Post by krabina »

what exactly would we need to replace?

I tried to replace skins\gumaxdd\scripts\jquery.droppy.js
but it didn't work. Anything else to replace?
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Clickable menu items on GuMaxDD 1.4

Post by Paul »

get GuMaxDD 1.5, see the comment in the GuMaxDD.php
User avatar
krabina
Rank 4
Rank 4
Posts: 20
Joined: June 8th, 2009, 7:14 am

Re: Clickable menu items on GuMaxDD 1.4

Post by krabina »

Hi Paul,

using the click style instead of the auto style works, but it is not what I need.

I don't want to klick on the main menu and then the submenus open, I want them opened automatically

But I also want the main menu item itself clickable so it leads to a page with the name of the main menu entry.

Is that possible?

regards,
Bernhard
Last edited by krabina on January 9th, 2012, 11:53 am, edited 1 time in total.
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Clickable menu items on GuMaxDD 1.4

Post by Paul »

It's possible... I will take a look and see what changes are.
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Clickable menu items on GuMaxDD 1.4

Post by Paul »

Try to search GuMaxDD.php and find this:

Code: Select all

<li><a id="gumax-nav-heading" href="#"><?php print $txtOut; ?>  &raquo;</a>
Replace with this:

Code: Select all

<li><a href="<?php $this->text('scriptpath') ?>/index.php?title=<?php echo str_replace(" ", "_", $bar); ?>"><?php $out = wfMsg( $bar ); if (wfEmptyMsg($bar, $out)) echo $bar; else echo $out; ?></a>
Remember, doing this might causes unknown behaviour, use it at your own risk.
Post Reply