Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • sanctuary29 Friend
    #127415

    Hi

    I have a main menu with some menus of different types except separators and the config is set to “Moo Menu”. It shows normally.

    For some reason when I create a new menu item , of the type “separator” , inside the “main menu”, the whole “main menu” dissapears from the the main navigation area of the template (position M).

    If I unpublish the “separator menu” element, the whole “main menu” appears again.

    I changed several times the configuration of the template to , moo menu, css, dropline and the others, and the issue is still happening, so I think is not related to this parameter.

    Why is this happening?

    Sherlock Friend
    #244967

    you can edit code follow me :
    Open Base.class.php(templates/ja_edenite/ja_menus/Base.class.php)
    Searcl those lines:(~219)

    if ($tmp->type == 'separator')
    {
    $data = '<a href="#" title=""><span class="separator">'.$tmp->name.'</span></a>';
    if (!$ret) echo $data;
    return $data;
    }

    Comment or remove them.

    sanctuary29 Friend
    #245081

    <em>@nguoiabcd 48103 wrote:</em><blockquote>you can edit code follow me :
    Open Base.class.php(templates/ja_edenite/ja_menus/Base.class.php)
    Searcl those lines:(~219)

    if ($tmp->type == 'separator')
    {
    $data = '<a href="#" title=""><span class="separator">'.$tmp->name.'</span></a>';
    if (!$ret) echo $data;
    return $data;
    }

    Comment or remove them.</blockquote>

    I did what you suggest. I found this lines on the function genMenuItem.

    Not working, the behaviour of the menu has not changed.

    Thanks for your help, any other idea?

    Sherlock Friend
    #245105

    Hi sanctuary29.
    Aslo edit Base.class.php.
    Search those lines(~154)

    case 'separator' :
    return '<span class="separator">'.$v->name.'</span>';
    break;

    Comment or remove it, I’ve tested on my localhost and everything is okie

    sanctuary29 Friend
    #245121

    It worked!!!!! thanks a lot

    ebajh69 Friend
    #249825

    I am having the same problem. I made the changes as suggested, and it looks ok, but when you click on the separator it is trying to bring you to a page on the site that doesn’t exist and you receive a 500 Internal Error.

    Site: http://medek-therapy.com/main
    Click on About MEDEK (CME) and it tries to go to the following page
    http://medek-therapy.com/main/&Itemid=56

    The Menu Item ID for that separator is 56, but it shouldn’t link to anything (hence the whole idea behind a separator. :confused:

    Does anyone know how to fix this?

    Thanks,

    Evan

    imurillo Friend
    #293285

    when I do click on a menú menu item is emphasized another menu options
    Please chek this url ( http://oaip.cancilleria.gob.ni/ ) to undestand better, I have problen writing english, I don´t understand why do not have spanish support.

    Otro problema que tengo es que depsués de que subi la página al servidor en producción, cada vez que actualizo un artículo o cuando hice un cambio en el menú me aparecen estos mensajes:
    Uno en el recuadro celeste que dice :Item del menú guardado (lo cual es correcto)
    pero además tengo este otro mensaje en recuadro color rosa

    – * Delete failed: ‘2a34a8ccac52f9d91f36ff5ea3d5e646.php’
    – * Delete failed: ‘063557d56023ed01c1582cc9a2dda16e.php’

    Que puedo hacer para corregir esto por que me aparecen.

    ogydog Friend
    #296851

    This issue is not solved. I have the same issue, even after applying code changes. Using joomla 1.0.15 and menu is set to “moo” .

    So, when top level items are “separators” in IE7 dropdown doesn’t display.

    Thanks

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

This topic contains 8 replies, has 5 voices, and was last updated by  ogydog 15 years, 8 months ago.

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