Accordeon Menu is closing after I clicked subitem

More
9 years 5 months ago #28034 by muneo
Hello,
I upgraded to latest version (2.0.15):
www.ipebras.com/modules/mod_accordeonck/mod_accordeonck.xml

My problem is when you click on the sub-item, the accordeon closes.
I do not uninstalled the previous version, is it necessary to uninstall first?
www.ipebras.com/index.php?option=com_con...5&Itemid=318&lang=br
Check the item "Niveis" from the side menu.

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

More
9 years 5 months ago #28035 by ced1870
Hi
strange ...
please go in FTP in the file modules/mod_accordeonck/helper.php
look at line 167 and see if you have this
Code:
// new method for the active class if ( $item->type == 'alias' && in_array($item->params->get('aliasoptions'),$path) || in_array($item->id, $path)) { $item->classe .= ' active'; $item->isactive = true; }
CEd

Joomlack Webmaster and Developer

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

More
9 years 5 months ago #28037 by muneo
Yes. Exactly the same code.
I created the same menu with default parameters (only I set Module tab parameters) and the result you can see at the bottom of this page:
www.ipebras.com/index.php?option=com_con...2&Itemid=321&lang=br :(

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

More
9 years 5 months ago #28063 by ced1870
please contact me by email with a FTP access so that I can check where is the problem because this has no sense to me

Joomlack Webmaster and Developer

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

More
9 years 5 months ago - 9 years 5 months ago #28092 by muneo
I found where was the mistake. In the module, my base item is different of the current.
In summary, if the base item is different of the current, the accordeon will not open if a sub-item is selected.

;)
Last edit: 9 years 5 months ago by muneo.
The following user(s) said Thank You: ced1870

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

Time to create page: 0.209 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 321 guests and one member online