How to remove tooltip in MEGAMENU using POSTNOTE template

Elegant Joomla template designed especially for both professional and personal website presentation.
GK User
Sat Dec 11, 2010 12:46 pm
Hello,

I'm looking for a way to disabled tooltips in my site menu.

I'm using the POSTNOTE template + MEGAMENU.

I found a mega.js in the template folder with "tips: true," line 47; I change it to "tips: false," with no result.

BTW site is : http://www.ubiznews.com

Thanks for any idea.
D.
User avatar
Fresh Boarder

GK User
Tue Dec 14, 2010 1:06 pm
this can't be removed... it's like that from development, not template...
User avatar
Platinum Boarder

GK User
Tue Dec 14, 2010 5:06 pm
OK found it...

it's in the file gk_postnotelibsmenubase.class.php:

comment or remove PHP Code in line 351:

$title = "title="$tmp->name"";

Never thought I will find it...
:-)
User avatar
Fresh Boarder

GK User
Thu Dec 16, 2010 7:52 pm
Hi,

I use safari and by default tooltips are turned off. However on my website emw8 the tooltips are showing in the main menu - it's really annoying and takes away any swish the menu has. I tried what you did above but I got load of nasty errors. Maybe you could help me because I don't really know PHP.

I am guessing it's somewhere within this bunch:
Code: Select all
         //Add page title to item
         if ($tmp->megaparams->get('desc')) {
            $txt .= '<span class="menu-desc">'. $tmp->megaparams->get('desc').'</span>';
         }
         
         if (isset ($itembg) && $itembg) {
            $txt = "<span class="has-image" $itembg>".$txt."</span>";
         }
         $title = "title="$tmp->name"";
         
         if ($tmp->type == 'menulink')
         {
            $menu = &JSite::getMenu();
            $alias_item = clone($menu->getItem($tmp->query['Itemid']));
            if (!$alias_item) {
               return false;
            } else {
               $tmp->url = $alias_item->link;
            }
         }


I am using yourshop

Best regards, CB
User avatar
Junior Boarder


cron