Page 1 of 1

Clickable menu items on GuMaxDD 1.4

Posted: October 2nd, 2011, 2:07 pm
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.

Re: Clickable menu items on GuMaxDD 1.4

Posted: October 18th, 2011, 2:44 pm
by jesco
Did u ever edit them? If so, How?

Re: Clickable menu items on GuMaxDD 1.4

Posted: October 18th, 2011, 10:46 pm
by Paul
GuMaxDD 1.1 supports clickable... you can use script from GuMaxDD 1.1 to replace the new GuMax menu script.

Re: Clickable menu items on GuMaxDD 1.4

Posted: November 1st, 2011, 7:25 pm
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?

Re: Clickable menu items on GuMaxDD 1.4

Posted: November 5th, 2011, 8:16 am
by Paul
get GuMaxDD 1.5, see the comment in the GuMaxDD.php

Re: Clickable menu items on GuMaxDD 1.4

Posted: January 9th, 2012, 11:46 am
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

Re: Clickable menu items on GuMaxDD 1.4

Posted: January 9th, 2012, 11:51 am
by Paul
It's possible... I will take a look and see what changes are.

Re: Clickable menu items on GuMaxDD 1.4

Posted: January 9th, 2012, 10:55 pm
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.