-
AuthorPosts
-
April 9, 2008 at 11:03 pm #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 FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
April 10, 2008 at 1:57 am #244967you 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.April 10, 2008 at 5:29 pm #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 FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
April 11, 2008 at 1:36 am #245105Hi 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 okie1 user says Thank You to Sherlock for this useful post
April 11, 2008 at 2:41 am #245121It worked!!!!! thanks a lot
ebajh69 Friendebajh69
- Join date:
- December 2005
- Posts:
- 36
- Downloads:
- 6
- Uploads:
- 8
- Thanks:
- 7
- Thanked:
- 4 times in 2 posts
May 20, 2008 at 2:26 am #249825I 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=56The 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 Friendimurillo
- Join date:
- December 2007
- Posts:
- 380
- Downloads:
- 79
- Uploads:
- 117
- Thanks:
- 37
- Thanked:
- 2 times in 2 posts
February 24, 2009 at 8:48 pm #293285when 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.
March 19, 2009 at 1:10 pm #296851This 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
-
AuthorPosts
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