active menu open

Replied by ced1870 on topic active menu open

Posted 8 years 7 months ago #29926

To me, that is a core Joomla problem.

I agree :)

ALSO load the page content.

for me it loads the same page as the link in the top menu
if you use the alias type, it shall work

Joomlack Webmaster and Developer

by ced1870

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

Replied by peregrinedesign on topic active menu open

Posted 8 years 7 months ago #29931
I have tested on Mac browsers and Windows. When you click on the top sidebar menu item labeled 'Filing' it does not load the blog listing as it does when using the same link in the top menu. Please advise.

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

Replied by ced1870 on topic active menu open

Posted 8 years 7 months ago #29940
ok I see ,I was clicking on "wallets" that is why I did not understand

go in the module options >> link target >> set it on "image only"

you will have to activate the +/- icons to open the submenu

else if you want to redirect the page and open the submenu, you don't need an accordeon menu ;)

Joomlack Webmaster and Developer

by ced1870

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

Replied by peregrinedesign on topic active menu open

Posted 8 years 6 months ago #29961
It took me a while to find what you were suggesting because the labels are not what you wrote. I found this setting in Effects: 'Event target element' and set it to 'Image Only' then the content is loaded (what is referred to as a 'redirect' in the label data). To me the button names are intuitively reversed. I would expect the title 'Link and Image' to perform the redirect and the title 'Image only' to not redirect. But I'm very glad it works. Now I can spend the time adding my custom styling. Thank you again for your prompt and helpful assistance.

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

Replied by ced1870 on topic active menu open

Posted 8 years 6 months ago #29964
I know that this option has not the best words to be used ;)

Joomlack Webmaster and Developer

by ced1870

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

Replied by peregrinedesign on topic active menu open

Posted 8 years 4 months ago #31361

ced1870 wrote: ok
the problem is the same

Code:
<li class="item-120 deeper parent"> <a href="/joomla/index.php/products/legal/filing">Filing</a> <ul class="nav-child unstyled small"> <li class="item-121 current"> <a href="/joomla/index.php/products/legal/filing/wallets">Wallets</a>

the "Filing" parent item has no active or current class applied to it.

Try to find in the joomla forum what can be the cause of your problem, the active class is needed for the menu to know that the submenu must be opened


Hi,
I'm re-engaging on this topic. I now have the same problem on a new site using your accordeon menu. I know this is not your problem and is really a Joomla core problem but I have a strong feeling you can overcome the problem. I have been trying but can't quite get it. I have added a php function in my template file to add classes to a parent item and then the parent.parent item. Please see here:
Code:
$(document).ready(function() { $('.current.level2').parent().parent().addClass('open'); $('.current.level2').parent().parent().addClass('current'); if($('.current.level2').parent().css('display') === 'none') { ('.current.level2').parent().css('display','block'); } });

This successfully adds the 'current' and 'open' classes to the 'parent.parent' (as it is when your menu is opened manually) but it does not change the display state of the immediate parent so that the child UL is displayed. I think it is because of the order of functions. Please consider looking into this as I believe it will greatly improve your module and you can use this enhancement as a strong selling point. Thank you for your help on this.

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

Time to create page: 0.726 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 493 guests and no members online