I've been using CMSMS for years, truely the best CMS: thx dudes, but...
CMSMS version: 1.9.2
Related to: MenuManager
Short problem description: "active" state of the parent menu-items is not visible as some class (class="menuactive" or something like that) if you use a menu that shows only a "number_of_levels" and if you are at a level deeper than the shown number_of_levels;
Long problem description:
Let's say this is my menu structure:
- home
- about
- products
- producttype1
- product1_1
- product1_2
- product1_3
- producttype2
- product2_1
- producttype3
- product3_1
- producttype1
- contact
Code: Select all
{menu template="some-standard-tpl-lets-say-simple_navigation.tpl" start_level="2" number_of_levels="1"}
Then when I am at a producttype-page, the "active"-state is mentioned in the current menu-item
BUT, when I am at a product-page (a child of a producttype-page),
the parent-producttype-page is not marked as "active" or alike, so I could highlight it in the menu...
Same thing if we would make a custom global tabbed sitemenu with the items
home - about - products - contact
If I would select the products-page, then the products-menuitem is selected/active (which we can "style" to look selected)
but if I go deeper, onto a producttype- or product-page, then the products-menuitem is not selected any more...
A possible solution:
The only solution I found so far is printing ALL the childnodes, and hiding them using CSS, but this is mega-overkill...
as I need to do this for every separete menu...
(Or using javascript to move parts of a sitemap menu of check a "selected" state of an item, hmmmm)
Since?
This problem is new I guess, because I never had this problem with older versions...
(eg CMSMS v1.5.2, with MenuManager v1.5.3)
Reproduce it
I noticed that ofcourse the CMSMS "demo" shows this "bug":
- ok: http://demo.opensourcecms.com/cmsmadesi ... horizontal
in this case, the tab is selected, because you are on a page that is part of the "hidden" submenu of that tab (hover over the tab to see the menu-item) - not ok: http://demo.opensourcecms.com/cmsmadesi ... e=top_left
tab is not highlighted anymore, although we are in the same "section" as the link before
or some bugfix in some other MenuManager related file.
--
Edit: apparently this bug was already reported and will be fixed in CMSMS v1.9.3.