test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • julmimi14 Friend
    #163054

    Hello Everybody,

    I would like to install a logo, maybe two logo on the menu, it is possible ?
    You can see on the picture, the first, it’s the actually menu, and the second, it’s i would like, so how to make that please ?

    khoand Friend
    #387534

    Hi,
    You edit your menu you want to have a image. Choose Parameters (System) section, set Menu image field

    julmimi14 Friend
    #387656

    <em>@khoand 235684 wrote:</em><blockquote>Hi,
    You edit your menu you want to have a image. Choose Parameters (System) section, set Menu image field</blockquote>

    Sorry, but that doesn’t work. If i do that, i have the pictures, an the text too on the same case.
    And the picture is not entirely on the menu.

    khoand Friend
    #387688

    Hi,
    You try this way:
    – Open <joomla url>templatesja_pyrolibsmenubase.class.php file, replace


    case 0:
    // _top
    $data = '<a href="'.$tmp->url.'" '.$active.' '.$id.' '.$title.'>'.$txt.'</a>';
    break;

    with


    case 0:
    // _top
    if (strstr($active, "_useimage") != null)
    $txt = '<img src="'.JText::_($tmp->name).'" />';
    $data = '<a href="'.$tmp->url.'" '.$active.' '.$id.' '.$title.'>'.$txt.'</a>';
    break;

    – When you edit menu item, set Additional class is _useimage (Parameter(JA Extended))
    – Previous code used menu’s title as image path.
    Example:
    + I create a menu item whose title is AFER
    + Add this code into <joomla url>languageen-GBen-GB.ini file

    AFER="images/powered_by.png"

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

This topic contains 4 replies, has 2 voices, and was last updated by  khoand 13 years, 7 months ago.

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