In plain Drupal site with bootstrap sub-theme, I added a menu items to Navigation menu, while I click to Article101, it should lead to Article101 and show its child menu, but both is not happening, Just menu-item is not responding anything?
-Article101
-Article102Any idea what could be the issue? Thanks
Comments
Comment #2
tannguyenhn commentedPlease make sure when you create menu item Article101, you should checked on option "Show as expanded"
Comment #3
dev18.addweb commentedYou can use superfish module to create menu in your site.
Comment #4
Codenext commented@tannguyenhn, Yes I am aware of that, and I enabled it, still not working.
Comment #5
Codenext commented@naresh.bavaskar, I will use superfish module, but that is the secondary thing. This looks like core theme issue.
Comment #6
tannguyenhn commented@Codenext
You created subtheme from bootstrap base theme ? Maybe some thing wrong with your subtheme.
You can switch back to base theme bootstrap for test. I am working on project use bootstrap theme and it worked as well.
Comment #7
willito commentedFor anyone who came across this limitation of menu depth, you can do the following to render subnav items.
First of all, create a menu-link.func.php file in your subtheme . Write something like this:
This limitation on behalf of the bootstrap theme is intentional, and does comply with some best practices. This is an imperfect solution to a common problem we find ourselves with: super-deep menu trees!
I hope this helps.
Comment #8
vidit.anjaria commentedThere must be some error you can find in console which causing this issue. As said in Comment #6 check with base theme, it's working properly..
Comment #9
Darth_Beholder commentedI can confirm that neither child neither base theme does not display child items in parent menus.
In standart themes (bartik/garland) child items are shown.
#7 solution is not working for me.
------------------
Sorry, my bad. After installing jquery update, menu works.
Comment #10
markhalliwellComment #11
Bruno Vincent commentedIn what folder do I put:
menu-link.func.php
And do I have to modify settings.php, info file or htacess?
Comment #12
dnlt commented@bruno-vincent (#11),
You can place it at /templates directory. You can add a directory level, if you want to keep it clean; drupal will find it anyway.
I suppose you already found it, but I'd like to add for future visitors.