Accordeon Menu is closing after I clicked subitem

Accordeon Menu is closing after I clicked subitem was created by muneo

Posted 8 years 9 months ago #28034
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.
by muneo

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

Replied by ced1870 on topic Accordeon Menu is closing after I clicked subitem

Posted 8 years 9 months ago #28035
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

by ced1870

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

Replied by muneo on topic Accordeon Menu is closing after I clicked subitem

Posted 8 years 9 months ago #28037
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 :(
by muneo

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

Replied by ced1870 on topic Accordeon Menu is closing after I clicked subitem

Posted 8 years 9 months ago #28063
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

by ced1870

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

Replied by muneo on topic Accordeon Menu is closing after I clicked subitem

Posted 8 years 9 months ago #28092
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:8 years 9 months ago by muneo
Last edit: 8 years 9 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.692 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 757 guests and no members online