How To Put Module In Mega Menu - Helix Ultimate Theme - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

How To Put Module In Mega Menu - Helix Ultimate Theme

HT

Hayden Thring

Template 3 years ago

Hi, I have the theme installed only, (and SPPB) (but not helix framework)

I also set up quick start on local machine as a copy of the demo to explore the admin.

I can see that a menu given the name 'mainmenu' wil be shown in thee main menu mega menu section of the template automatically, without having the have it assigned as a module.

Now with the demo it also hase 2 modules inside the menu section titled "Mega", that shows a picture of some food, and also another module of latest articles.

I can see that there are 2 modules set up for this in the modules section, but they both dont have a position assigned.

So what i cant work out is how are these modules being chosen/known about by the template to load in ?

0
4 Answers
HT
Hayden Thring
Accepted Answer
3 years ago #70347

Ok, I tracked it down. The module ID's are 'hard' coded in the params field for the mainmenu item in menu table. Im guessing this is editable with the helix framework installed, but otherwise invisible except for looking at the db.

Here is data

{"menu-anchor_title":"","menu-anchor_css":"","menu-anchor_rel":"","menu_image":"","menu_image_css":"","menu_text":1,"menu_show":1,"helixultimatemenulayout":"{\"width\":1170,\"menualign\":\"full\",\"megamenu\":1,\"showtitle\":1,\"faicon\":\"fa-codepen\",\"customclass\":\"\",\"dropdown\":\"right\",\"badge\":\"Hot\",\"badge_position\":\"\",\"badge_bg_color\":\"\",\"badge_text_color\":\"\",\"layout\":[{\"type\":\"row\",\"attr\":[{\"type\":\"column\",\"colGrid\":\"3\",\"menuParentId\":\"\",\"moduleId\":\"122\",\"items\":[{\"type\":\"menu_item\",\"item_id\":122}]},{\"type\":\"column\",\"colGrid\":\"3\",\"menuParentId\":\"\",\"moduleId\":\"125\",\"items\":[{\"type\":\"menu_item\",\"item_id\":125}]},{\"type\":\"column\",\"colGrid\":\"3\",\"menuParentId\":\"\",\"moduleId\":\"124\",\"items\":[{\"type\":\"menu_item\",\"item_id\":124}]},{\"type\":\"column\",\"colGrid\":\"3\",\"menuParentId\":\"\",\"moduleId\":\"123\",\"items\":[{\"type\":\"menu_item\",\"item_id\":123}]}]},{\"type\":\"row\",\"attr\":[{\"type\":\"column\",\"colGrid\":\"3\",\"menuParentId\":\"\",\"moduleId\":\"96\",\"items\":[{\"type\":\"module\",\"item_id\":96}]},{\"type\":\"column\",\"colGrid\":\"3\",\"menuParentId\":\"\",\"moduleId\":\"98\",\"items\":[{\"type\":\"module\",\"item_id\":98}]},{\"type\":\"column\",\"colGrid\":\"3\",\"menuParentId\":\"\",\"moduleId\":\"147\",\"items\":[{\"type\":\"menu_item\",\"item_id\":147}]},{\"type\":\"column\",\"colGrid\":\"3\",\"menuParentId\":\"\",\"moduleId\":\"148\",\"items\":[{\"type\":\"menu_item\",\"item_id\":148}]}]}]}","helixultimate_enable_page_title":"0","helixultimate_page_title_alt":"","helixultimate_page_subtitle":"","helixultimate_page_title_bg_color":"","helixultimate_page_title_bg_image":""}

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 3 years ago #70463

Hi there!

Thanks for contacting us.

Here is the documentation on menu, advanced submenu and megamenu:

https://www.joomshaper.com/documentation/helix-framework/helix-ultimate-2/menu-navigation

You will find a section below named as 'How to add a module inside the submenu', it will help you to figure out this:)

Best Regards

0
HT
Hayden Thring
Accepted Answer
3 years ago #70508

That only applies if you have Helix framework installed, which i already mentioned.

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 3 years ago #70639

Oops! I have missed that somehow.

Yes, you are right! That only applies if you have Helix framework installed!

For other themes/frameworks, you may consult with the theme provider about it.

Thanks for sharing your experience and observation with us. We really appreciate that...

Have a nice day!

Best Regards

0