sef and submenus

This forum is for reporting bugs in Joomla!. Please don't report problems with extensions in here.
Locked
User avatar
jasonhoblin
Joomla! Apprentice
Joomla! Apprentice
Posts: 29
Joined: Fri Jan 25, 2008 2:09 am
Location: SoCal
Contact:

sef and submenus

Post by jasonhoblin » Thu Nov 06, 2008 6:04 am

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?
^jasonhoblin

User avatar
dam-man
Joomla! Exemplar
Joomla! Exemplar
Posts: 7961
Joined: Fri Sep 09, 2005 2:13 pm
Location: The Netherlands
Contact:

Re: sef and submenus (bug?)

Post by dam-man » Thu Nov 06, 2008 9:25 am

Mod Note: Moved to Q&T Forum
Robert Dam - Joomla Forum Moderator
Dutch Boards | Joomla Coding Boards | English Support Boards

User avatar
mcsmom
Joomla! Exemplar
Joomla! Exemplar
Posts: 7985
Joined: Thu Aug 18, 2005 8:43 pm
Location: New York
Contact:

Re: sef and submenus

Post by mcsmom » Thu Nov 06, 2008 5:55 pm

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!.

User avatar
jasonhoblin
Joomla! Apprentice
Joomla! Apprentice
Posts: 29
Joined: Fri Jan 25, 2008 2:09 am
Location: SoCal
Contact:

Re: sef and submenus

Post by jasonhoblin » Thu Nov 06, 2008 9:47 pm

OOOOOOHHHHHHHHHHH!!!!!!!

............................................______ __
....................................,.-‘”...................``~.,
.............................,.-”...................................“-.,
.........................,/...............................................”:,
.....................,?........................... ...........................,
.................../.................................................. .........,}
................./.................................................. ....,:`^`..}
.............../.................................................. .,:”........./
..............?.....__............................ .............:`.........../
............./__.(.....“~-,_..............................,:`........../
.........../(_....”~,_........“~,_....................,:`..... ..._/
..........{.._$;_......”=,_.......“-,_.......,.-~-,},.~”;/....}
...........((.....*~_.......”=-._......“;,,./`..../”............../
...,,,___.`~,......“~.,....................`..... }............../
............(....`=-,,.......`........................(......;_,,-”
............/.`~,......`-...................................../
.............`~.*-,.....................................|,./.....,__
,,_..........}.>-._...................................|........... ...`=~-,
.....`=~-,__......`,.................................
...................`=~-,,.,...............................
................................`:,,.............. .............`..............__
.....................................`=-,...................,%`>--==``
........................................_........ ..._,-%.......`
...................................,
^jasonhoblin

User avatar
jasonhoblin
Joomla! Apprentice
Joomla! Apprentice
Posts: 29
Joined: Fri Jan 25, 2008 2:09 am
Location: SoCal
Contact:

Re: sef and submenus

Post by jasonhoblin » Thu Nov 06, 2008 10:02 pm

in case anyone else makes the same mistake....

SOLVED: use menu aliases

thank you!!!
^jasonhoblin

jgrooves
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Wed Mar 03, 2010 9:29 am

Re: sef and submenus

Post by jgrooves » Sun Apr 11, 2010 2:29 pm

WICKED! after days of searching this has solved my problem! thanks!

User avatar
amitpatekar
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 213
Joined: Wed Oct 15, 2008 9:18 am
Location: India - Pune
Contact:

Re: sef and submenus

Post by amitpatekar » Wed Oct 05, 2011 5:28 pm

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
Regards
Amit Patekar
Follow me on twitter @amitpatekar
Or visit http://www.itdesignlab.com


Locked

Return to “Joomla! 1.5 Bug Reporting”