[USER] Menu styles "Horizontal" and "Flat list" don't expand submenus. Only "Vertical" works as expected.
Reported on:
[USER] At least J1.0.8 to "Joomla! 1.0.11 Stable [ Sunbow ] 28 August 2006 20:00 UTC" with updated admin.mambots.php (in administrator/components/com_mambots/)
Classification:
[Q&T] Critical/High/Medium/Low/Enhancement
Affected functions:
[USER] Submenus: Giving a menu item a "parent" other than "Top".
Related files:
[USER] Probably modules/mod_mainmenu.php
Steps to replicate:
[USER]
- Install Joomla 1.0.11 with sample data.
- Make a submenu: Admin > Menu > mainmenu > "Blog", set its parent to the "News" item.
- View the site, click the "News" menu item; the "Blog" item will now show.
- Now change to "Flat list" or "Horizontal" menu style (Admin > Modules > Site Modules > e.g. Main Menu > Menu Style.).
- Go to Home, refresh, click News again. Now the Blog item does not show.
The first link in the forum post below may still point to a live example:
http://forum.joomla.org/index.php/topic ... #msg460677
Analysis:
[Q&T] Confirmed/Unable to confirm/Rejected
Any other comments
Proposed fix(es):
[USER] Enhance mod_mainmenu.php with "horizontal" and "flat list" versions of
mosRecurseVIMenu(), which only applies to vertical, indented menus.
As a workaround, use the "Extended menu" module: http://extensions.joomla.org/component/ ... Itemid,35/. I have only tested it briefly on a clean install, but:
- Install the Extended Menu module (Download the zip file, then go to Admin > Installers > Modules)
- Publish it (Admin > Modules > Site Modules > Extended Menu > Toggle Published)
- Admin > Modules > Site Modules > Extended Menu > Menu name > Select "mainmenu"
- Admin > Modules > Site Modules > Extended Menu > Menu Style > Select "Flat list", "CSS tree", or whatever you prefer.
- You'll probably want to hide the original menu once things work: Admin > Module > Main Menu > Toggle Published.
[USER] Enter the crosss reference for topic or artifact id/url when submitted
System info:
[USER]
The error manifests on Linux and Windows alike:
System 1 (production server)
PHP built On: Linux monster 2.4.28-Mik #1 SMP Wed Dec 15 00:31:33 CET 2004 i686
Database Version: 4.0.24
PHP Version: 4.4.0
Web Server: Apache
WebServer to PHP interface: cgi-fcgi
Joomla! Version: Joomla! 1.0.10 Stable [ Sundown ] 26 June 2006 00:00 UTC
User Agent: Opera/8.54 (Windows NT 5.1; U; en)
System 2 (test server)
PHP built On: Windows NT bio91054 5.1 build 2600
Database Version: 5.0.22-community-nt
PHP Version: 5.1.4
Web Server: Apache/2.0.58 (Win32) PHP/5.1.4
WebServer to PHP interface: apache2handler
Joomla! Version: Joomla! 1.0.11 Stable [ Sunbow ] 28 August 2006 20:00 UTC
User Agent: Opera/8.54 (Windows NT 5.1; U; en)