Making our themes display DDR's mega menu or accordion, is now pretty simple. Here's how to:
Mega Menu
- Edit layout files in your skin files (typically home.ascx and/or inner.ascx)
- Change from:
<dnn:MENU1 runat="server" ID="BindMENU1" MenuStyle="DNNMenu">
to
<dnn:MENU1 runat="server" ID="BindMENU1" MenuStyle="mega2"">
- Save, repackage skin and re-install
Info: Mega menu can only be used for horizontal navigation
Accordion Menu
- Edit layout files in your skin files (typically home.ascx and/or inner.ascx)
- Change from:
<dnn:MENU2 runat="server" ID="BindMENU2" MenuStyle="DNNMenu">
to
<dnn:MENU2 runat="server" ID="BindMENU2" MenuStyle="accordion">
- Save, repackage skin and re-install
Info: Accordion menu can only be used for vertical navigation
Could you please explain what is meant by "repackage the skin?"
Thanks.
Hi Charlie, to edit the skin files you must unzip the skin. Repackage means zipping it again. If you extracted the skin to a folder, mak sure to compress the files inside the folder, and not the folder itself.
Let us know if you still have any questions.
How do I use Mega Menus with the Interface SharePoint 2010 theme? Which file do you need to edit for it to work?
Hi, this article is directed towards DotNetNuke skins only, and it is not valid for Sharepoint themes.
Our Interface theme does not support Megamenus. At this moment, the only theme supporting megamenus for SP2010 is Flex-o.
Hi Charlie,
I am looking around mega menu. Can you please advise if I can just download the mega menu extension. Thanks.
Depending on your theme's current version, you will probably have to re-generate your theme or request an upgrade.
See how to update your theme here: http://support.bind.pt/entries/20389251-how-do-i-get-an-update-for-my-theme
Thanks Beatriz,
I have installed the skin, but if i changed, but i hit error ".. cannot load menu style 'mega2'..." when i changed to the following tag
<dnn:MENU1 runat="server" ID="BindMENU1" MenuStyle="**mega2**">
Can you please advise what goes wrong?
Thanks.
Please note the original MenuStyle is "BindMenu" but not "DNNMenu".
Can you check your theme's version?
Dear Beatriz,
It is version 2.0.0.0.
If your version is the 2.0.0.0 you need to follow the instruction on this page: http://support.bind.pt/entries/21543712-how-to-use-megamenu-accordion-navigation-with-bindmenu-from-bind-tuning-v2-0-0-in-dnn6.
It works, thanks Mariana.
Thank you Beatriz for your contribution!
Your menu worked when I used** MenuStyle="mega2DNN*" instead of **MenuStyle="Mega2" *in this tag:
<dnn:MENU1 runat="server" ID="BindMENU1" MenuStyle="">
Cheers!