Hello everyone
We have added megamenu cshtml that is explained here
Also, we have added these two lines of code to our HomePage.ascx:
<%@ Register TagPrefix="dnn" TagName="MENU" src="~/DesktopModules/DDRMenu/Menu.ascx" %>
<dnn:MENU ID="MegaULRazor" MenuStyle="megamenu" runat="server"></dnn:MENU>
but we get the following error:
DotNetNuke.Services.Exceptions.ModuleLoadException:
Couldn't load menu style 'megamenu': System.ArgumentException: Illegal
characters in path
Since we don't know where to add the files, we have copied them to "Portals\_default\Skins\SampleSkin\SampleNav"
And these are the files that we added:
.gitattributes
.gitignore
megamenu.css
MegaULRazor.cshtml
readme.markdown
TopMenu-menudef.xml
And these is what is written in TopMenu-menudef.xml file:
<?xml version="1.0" encoding="UTF-8"?>
-<manifest>
<template>MegaULRazor.cshtml</template>
-<stylesheets>
<stylesheet>megamenu.css</stylesheet>
</stylesheets>
</manifest>
Any kind of help would be highly appreciated