Kunena Menu
menu saves state even when new page opens
- captainandy14
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 0
12 years 6 months ago #19048
by captainandy14
Replied by captainandy14 on topic menu saves state even when new page opens
ya thats what I thought ..any direction that I can go in? like which php page in your module to start with? Or do you think you have the time to make the menu look like the one I showed if I paid you? Thanks
Please Log in or Create an account to join the conversation.
12 years 6 months ago #19049
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic menu saves state even when new page opens
I don't do custom jobs like this and I really have no time to look at it...
try to remove the current class in the helper.php file
try to remove the current class in the helper.php file
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
- captainandy14
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 0
12 years 6 months ago #19050
by captainandy14
Replied by captainandy14 on topic menu saves state even when new page opens
ok thanks a lot anyways/
Please Log in or Create an account to join the conversation.
- captainandy14
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 0
12 years 6 months ago #19051
by captainandy14
Replied by captainandy14 on topic menu saves state even when new page opens
it worked, thanks a lot for your direction
I removed the active class from helper.php and it started to work fine.
I removed the active class from helper.php and it started to work fine.
Code:
// manage item class
//$item->classe = 'item-' . $item->id;
//if ($item->id == $active_id) {
// $item->classe .= ' current';
//}
//if (in_array($item->id, $path)) {
// $item->classe .= ' active';
// $item->isactive = true;
//} elseif ($item->type == 'alias') {
// $aliasToId = $item->params->get('aliasoptions');
// if (count($path) > 0 && $aliasToId == $path[count($path) - 1]) {
// $item->classe .= ' active';
// $item->isactive = true;
//} elseif (in_array($aliasToId, $path)) {
// $item->classe .= ' alias-parent-active active';
// $item->isactive = true;
//}
//}
Please Log in or Create an account to join the conversation.
Time to create page: 0.186 seconds




