Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • gringo211985 Friend
    #177249

    HI there,

    I would like to remove the mouse-over “alt” from showing in the JA mega menu and I am using JA purity ii

    Also I have tried the fix from the other thread about this problem, but I couldn’t find the line of code to edit in suggested file. (the other thread was Joomla 1.6 if that makes a difference)

    Thanks in advance to anyone who helps 🙂

    Wall Crasher Developer
    #454171

    Hi there,

    You open file plugins/system/jat3/jat3/core/menu/base.class.php and find this code line


    $txt = '<span class="menu-image"><img src="' . JURI::base(true) . '/' . $iParams->get('menu_image') . '" alt="' . $tmpname . '" title="' . $anchor_title . '" /></span><span class="menu-title">' . $tmpname . '</span>';

    at line 505
    and remove alt property in this statement.

    gringo211985 Friend
    #455228

    Hi there,

    Thanks for the help, I’m a bit of a noob and I’m not entirely sure which part I should remove.

    Could you please tell me which part of the code I should remove?

    Sherlock Friend
    #456059

    <em>@gringo211985 322524 wrote:</em><blockquote>Hi there,

    Thanks for the help, I’m a bit of a noob and I’m not entirely sure which part I should remove.

    Could you please tell me which part of the code I should remove?</blockquote>

    You remove this part alt=”‘ . $tmpname . ‘” from the above code

    jap400 Friend
    #459783

    I am using the template JA Nex, I removed as instructed, but did not disappear… is it possible?
    (sorry Im spanish using google translator =))

    Wall Crasher Developer
    #460550

    Hi jap400,

    Can you tell me which version of Joomla you are using?
    And do you really want to remove menu image item ‘alt’ or menu item system tooltip?

    Please capture an image and tell me which part you want to remove?

    If you want to remove the system tooltip then open the same file as above and replace the line 521 to

    $title = "title=""";

    Please describe your problem in more detail so I can help you out?

    Regards

    joomlacl Friend
    #460672

    Hello team!

    I have the same question, I’m using Joomla! 2.5.6 and followed both solutions, but no one of them works, the “alt” is still there when I do a mouse over in the menu item.

    I remove the alt=”‘ . $tmpname . ‘” reference at the line 505:
    [PHP]$txt = ‘<span class=”menu-image”><img src=”‘ . JURI::base(true) . ‘/’ . $iParams->get(‘menu_image’) . $anchor_title . ‘” /></span><span class=”menu-title”>’ . $tmpname . ‘</span>’;[/PHP]

    I also modify the line 521:
    [PHP]$title = “”;[/PHP]

    But even with those modifications, when I go to my template, I’m still see the “alt” tag in each menu item.

    I’m attaching you a image with the code and the alt tag.

    Kind regards.


    1. tag
    Wall Crasher Developer
    #460831

    Hi joomlacl,

    Can you please provide your site link?
    Also, please pm me ftp/admin access information. I have do the same and it work.

    Please make sure you clear system cache and browser cache.

    Regards

Viewing 8 posts - 1 through 8 (of 8 total)

This topic contains 8 replies, has 5 voices, and was last updated by  Wall Crasher 12 years, 4 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum