active menu open
9 years 2 months ago #29926
by ced1870
if you use the alias type, it shall work
Joomlack Webmaster and Developer
Replied by ced1870 on topic active menu open
I agreeTo me, that is a core Joomla problem.
for me it loads the same page as the link in the top menuALSO load the page content.
if you use the alias type, it shall work
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
- peregrinedesign
- Topic Author
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 0
9 years 2 months ago #29931
by peregrinedesign
Replied by peregrinedesign on topic active menu open
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.
9 years 2 months ago #29940
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic active menu open
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
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
Please Log in or Create an account to join the conversation.
- peregrinedesign
- Topic Author
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 0
9 years 2 months ago #29961
by peregrinedesign
Replied by peregrinedesign on topic active menu open
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.
9 years 2 months ago #29964
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic active menu open
I know that this option has not the best words to be used
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
- peregrinedesign
- Topic Author
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 0
9 years 1 week ago #31361
by peregrinedesign
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:
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.
Replied by peregrinedesign on topic active menu open
ced1870 wrote: ok
the problem is the sameCode:<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.224 seconds