-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Menu's may not have the class='active' #3121
Comments
Hello, I have similar problems, but in my case it is not recognized as a bug. Have a look at the screenshots. Here everything is correct. In the top-navigation and the sub-navigation aside the same items are highlightened. Here, instead the third level item, as it is highlightened in the top-navi the sub-navi shows If anyone can have a look at it, it is highly appreciated. Thanks alot, |
Sorry, here is the system-information: Module-Settings: |
Can you try with the "base item" as "current"? |
@Bakual, I set "base-item" to "current". I'm open for any suggestion ;-)
|
@dougransom
|
Can you send me an email to [email protected]? I can't reproduce this and would like to figure out where the problem is. |
After investigating we found it's indeed not a bug and working as intended. If that doesn't behave like expected, then it's likely a menu module which isn't set up correctly. |
Use a module to display both a top-level menu, and a submenu on certain pages.
The submenu doesn't get the 'class = active' set on the right item. Instead it is set for the parent item (which is also in the child menu). In this case both "investment solutions" on the main menu and "Goals Based Investing" on the child menu refer to the same article.
In this example the user has selected "Portfolio Construction" but in the menu Goals Based Investing is highlighted instead.
Based on using a templated that is a tweaked protostar template.
here are the two menus html:
and
Here is the info on my joomla instance:
System Information
Setting Value
PHP Built On Linux box503.bluehost.com 3.4.79-20140208.1.bh6.x86_64 #1 SMP Sat Feb 8 12:29:59 EST 2014 x86_64
Database Version 5.5.36-log
Database Collation utf8_general_ci
PHP Version 5.4.24
Web Server Apache
WebServer to PHP Interface cgi-fcgi
Joomla! Version Joomla! 3.1.5 Stable [ Ember ] 01-August-2013 14:00 GMT
Joomla! Platform Version Joomla Platform 12.2.0 Stable [ Neil Armstrong ] 21-September-2012 00:00 GMT
User Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.107 Safari/537.36
The text was updated successfully, but these errors were encountered: