I have the following problem with the navigation module. Suppose you have the following menu-structure
A
B
+-BA
+-BB
C
+-CA
+-CB
all pages exist, except for B, which is a permanent redirection to BA. When you click on B, both elements B and BA are assigned the classes "active" and "submenu". This reduces the possibilities of styling the submenus.
I think a better class assignment would be -when B, a redirection is clicked- "(trail, submenu)" for B and "(active, submenu)" for BA.
I did a dirty workaround to address this on the file "system/modules/frontend/Module.php", in case someone has the same problem:
substitute line 264:
Code:
$row['isActive'] = true;
with
Code:
$row['isActive'] = ($objPage->id == $objSubpages->id) ? true : false;
It would be nice if this is correctly addressed in some future version.
Bookmarks