Panneau N0C 04 EN 250 250
Get 15% discount on our partner PlanetHoster with the code PHA-ceikay

menu saves state even when new page opens

More
12 years 6 months ago #19048 by captainandy14
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.

More
12 years 6 months ago #19049 by ced1870
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

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
12 years 6 months ago #19050 by captainandy14
ok thanks a lot anyways/

Please Log in or Create an account to join the conversation.

More
12 years 6 months ago #19051 by captainandy14
it worked, thanks a lot for your direction

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

Fast and powerful creation, customizable and responsive.

Read More

We have 419 guests and 2 members online