YEA! i think i found my first core joomla bug!!!
IF joomla SEF is enabled AND there is another published menu item on the page linking to same item, THEN the submenus do not appear for that menu item. Allow me to illustrate:
Left Menu: (vertical)
Home
+ Login
Products (blog cat 1)
+ Product A
+ Product B
Services (blog cat 2)
+ Service Y
+ Service Z
Contact
Footer Menu (horizontal)
Home
Products (blog cat 1)
Services (blog cat 2)
Contact
this setup will not show any submenus in the Left Menu, no matter which menu item is clicked, in either menu.
IF you unpublish the Products menu item from the Footer menu, THEN the Products submenu will appear in the Left Menu. AND IF you unpublish the Services menu item from the Footer menu, THEN the Services submenu will appear in the Left Menu.
IF you unpublish the Footer menu module, AND the Footer menu items are still in published state, the submenus still do NOT appear.
IF you click on Home (frontpage) on the Left Menu, THEN the submenus items do appear. IF you click on Home (frontpage) on the Footer Menu, THEN the submenus items do NOT appear in the Left menu. (sub bug?)
IF the menu item uses an ItemID, THEN the error occurs. (ELSE a component menu item with submenus do work properly )
Important to restate: this only occurs with joomla SEF enabled; everything works great with default urls.
i have tested on a new install. i have repeated the test to confirm the results. could this be my server mod_rewrite and/or an htaccess issue? this is a bug right?
sef and submenus
- jasonhoblin
- Joomla! Apprentice
- Posts: 29
- Joined: Fri Jan 25, 2008 2:09 am
- Location: SoCal
- Contact:
sef and submenus
^jasonhoblin
- dam-man
- Joomla! Exemplar
- Posts: 7961
- Joined: Fri Sep 09, 2005 2:13 pm
- Location: The Netherlands
- Contact:
Re: sef and submenus (bug?)
Mod Note: Moved to Q&T Forum
Robert Dam - Joomla Forum Moderator
Dutch Boards | Joomla Coding Boards | English Support Boards
Dutch Boards | Joomla Coding Boards | English Support Boards
- mcsmom
- Joomla! Exemplar
- Posts: 7897
- Joined: Thu Aug 18, 2005 8:43 pm
- Location: New York
- Contact:
Re: sef and submenus
You should try never to have the same menu link twice. Change the footer menu to an alias type that refers to the one with the submenus.
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.
- jasonhoblin
- Joomla! Apprentice
- Posts: 29
- Joined: Fri Jan 25, 2008 2:09 am
- Location: SoCal
- Contact:
Re: sef and submenus
OOOOOOHHHHHHHHHHH!!!!!!!
............................................______ __
....................................,.-‘”...................``~.,
.............................,.-”...................................“-.,
.........................,/...............................................”:,
.....................,?........................... ...........................,
.................../.................................................. .........,}
................./.................................................. ....,:`^`..}
.............../.................................................. .,:”........./
..............?.....__............................ .............:`.........../
............./__.(.....“~-,_..............................,:`........../
.........../(_....”~,_........“~,_....................,:`..... ..._/
..........{.._$;_......”=,_.......“-,_.......,.-~-,},.~”;/....}
...........((.....*~_.......”=-._......“;,,./`..../”............../
...,,,___.`~,......“~.,....................`..... }............../
............(....`=-,,.......`........................(......;_,,-”
............/.`~,......`-...................................../
.............`~.*-,.....................................|,./.....,__
,,_..........}.>-._...................................|........... ...`=~-,
.....`=~-,__......`,.................................
...................`=~-,,.,...............................
................................`:,,.............. .............`..............__
.....................................`=-,...................,%`>--==``
........................................_........ ..._,-%.......`
...................................,
............................................______ __
....................................,.-‘”...................``~.,
.............................,.-”...................................“-.,
.........................,/...............................................”:,
.....................,?........................... ...........................,
.................../.................................................. .........,}
................./.................................................. ....,:`^`..}
.............../.................................................. .,:”........./
..............?.....__............................ .............:`.........../
............./__.(.....“~-,_..............................,:`........../
.........../(_....”~,_........“~,_....................,:`..... ..._/
..........{.._$;_......”=,_.......“-,_.......,.-~-,},.~”;/....}
...........((.....*~_.......”=-._......“;,,./`..../”............../
...,,,___.`~,......“~.,....................`..... }............../
............(....`=-,,.......`........................(......;_,,-”
............/.`~,......`-...................................../
.............`~.*-,.....................................|,./.....,__
,,_..........}.>-._...................................|........... ...`=~-,
.....`=~-,__......`,.................................
...................`=~-,,.,...............................
................................`:,,.............. .............`..............__
.....................................`=-,...................,%`>--==``
........................................_........ ..._,-%.......`
...................................,
^jasonhoblin
- jasonhoblin
- Joomla! Apprentice
- Posts: 29
- Joined: Fri Jan 25, 2008 2:09 am
- Location: SoCal
- Contact:
Re: sef and submenus
in case anyone else makes the same mistake....
SOLVED: use menu aliases
thank you!!!
SOLVED: use menu aliases
thank you!!!
^jasonhoblin
-
- Joomla! Fledgling
- Posts: 4
- Joined: Wed Mar 03, 2010 9:29 am
Re: sef and submenus
WICKED! after days of searching this has solved my problem! thanks!
- amitpatekar
- Joomla! Enthusiast
- Posts: 213
- Joined: Wed Oct 15, 2008 9:18 am
- Location: India - Pune
- Contact:
Re: sef and submenus
Yes, after some 5 years of development in joomla finally today i came across this bug of sub menu not showing when sef is enabled and you have same alies ( or same menu item point to same article).
Solution is simple and perfect, use alies when creating new menus point to same article. Thank you All
Solution is simple and perfect, use alies when creating new menus point to same article. Thank you All