test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • dreamwave Friend
    #145920

    Hello,
    I am using JA Kyanite template for our website and we see that sometimes the menu images totally disappear.
    You can see our development server live at dev3.dreamwave.net

    When you click on Main Menu –> Products, the menu images disappear.
    If you click on Main Menu –> Home, the images appear again.

    Need help in solving this problem

    Thanks

    Anonymous Moderator
    #323402

    Hi geekyartist

    Please open templates/ja_kyanite_ii/libs/menu/base.class.php file, at about line 268, please find following code section:


    if ($this->getParam('menu_background')) {
    $itembg = 'style="background-image:url(images/stories/'.$iParams->get('menu_image').');"';
    $txt = '<span class="menu-title">' . $tmp->name . '</span>';
    } else {
    $txt = '<span class="menu-image"><img src="images/stories/'.$iParams->get('menu_image').'" alt="'.$tmp->name.'" title="'.$tmp->name.'" /></span><span class="menu-title">' . $tmp->name . '</span>';
    }

    and change to:


    if ($this->getParam('menu_background')) {
    $itembg = 'style="background-image:url('. JURI::base() .'/images/stories/'.$iParams->get('menu_image').');"';
    $txt = '<span class="menu-title">' . $tmp->name . '</span>';
    } else {
    $txt = '<span class="menu-image"><img src="images/stories/'.$iParams->get('menu_image').'" alt="'.$tmp->name.'" title="'.$tmp->name.'" /></span><span class="menu-title">' . $tmp->name . '</span>';
    }

    dreamwave Friend
    #323412

    Thank You! That did it :-).

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

This topic contains 3 replies, has 2 voices, and was last updated by  dreamwave 15 years ago.

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