MegaMenu error
This support request was posted in Smart by MartinCrawford
- MartinCrawford March 15, 2018 at 6:53 pm
Hi Juan,
I encountered an error with the mega menu option:
– I can’t select the mega menu option with already existing menu’s
– When I make a new menu the option does appear, but does not work and the option disappears as soon as the menu is saved.This same error happened on another site that I’m moving to Smart as well. I tried with all plugins deactivated, and the error persisted. The site link is a development area so feel free to play around, just don’t delete or change existing menu’s please
Kind regards,
RonaldJuanfra Aldasoro March 16, 2018 at 1:16 pmHi Ronald,
Thank you for writing! I hope you are doing well.
Is that a menu that you are already inheriting from a previous site with another theme? It may be related to some menu items metadata that was present in your previous theme. Have you tried replicating the menu structure in a totally new menu and then assigning the location you want to this new menu?
Best,
Juan.MartinCrawford March 19, 2018 at 10:46 amHi Juan,
Thank for getting back on this. I have tried making a new menu, and the megamenu option appears only while making the new menu. As soon as i save the new menu, the megamenu checkbox is gone and the functionality of it was not applied.
I have tried this with all plugins turned off, and using Smart instead of Smart Child.
I don’t know how this could relate to something else inside of this wordpress install or a previous theme. It also happens on another site I am trying moving to Smart, which runs on another theme than this one (WC Canvas and Porto)
Ronald
Juanfra Aldasoro March 19, 2018 at 1:46 pmHi Ronald,
Thanks for the follow-up.
We’ll be taking a look at this. So far, we weren’t able to reproduce it, so any information you can give us will be more than helpful.
Thanks again,
Juan.Juanfra Aldasoro March 21, 2018 at 9:07 pmHi Ronald,
Thanks for the follow-up, the explanation, and the screenshots.
We finally were able to reproduce it and we’re investigating what could be causing this. Technically speaking, it seems that the Nav_Walker we have defined is only being triggered once a new item is added and not when is edited. So, it’s super strange. We’ll be coming back to you as soon as we have an answer to this problem.
Best,
Juan.Juanfra Aldasoro March 26, 2018 at 4:13 pmHey Ronald,
I hope you are doing well. Thank you for your patience.
Would you please try replacing the file you have in /smart/includes/nav-menus.php with this new version? https://cloudup.com/cj8INwTajBm
(I’ve tried to edit it directly in your WP admin but the editor is not working, I think it’s because of the file permissions)
Also, please be sure that you have assigned the menu you’re working on to the “Navigation Menu” location, as it’s the only one that supports mega menus.
Best,
Juan.
You must be logged in to reply to this topic.