Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Replacing Nav Menu Syntax with DDRMenuReplacing Nav Menu Syntax with DDRMenu
Previous
 
Next
New Post
1/24/2014 6:02 PM
 

Hello, 

Our skin is running into the IE11 issue using the old SolPart menu. I've installed the DDR menu and was able to get it working on a skin that uses the following format by replacing the path information and the menu is up and running. 

<%@ Register TagPrefix="dnn" TagName="..." src="~/Admin/Skins/SolPartMenu.ascx" %>
I've got a another skin used on the same site that utilizes the NAV format

 

<%@ Register TagPrefix="dnn" TagName="NAV" Src="~/Admin/Skins/Nav.ascx" %>

<dnn:NAV runat="server" id="dnnNAV" ProviderName="DNNMenuNavigationProvider" IndicateChildren="False" ControlOrientation="Horizontal" CSSNodeRoot="main_dnnmenu_rootitem" CSSNodeHoverRoot="main_dnnmenu_rootitem_hover" CSSNodeSelectedRoot="main_dnnmenu_rootitem_selected" CSSBreadCrumbRoot="main_dnnmenu_rootitem_selected" CSSContainerSub="main_dnnmenu_submenu" CSSNodeHoverSub="main_dnnmenu_itemhover" CSSNodeSelectedSub="main_dnnmenu_itemselected" CSSContainerRoot="main_dnnmenu_container" CSSControl="main_dnnmenu_bar" CSSBreak="main_dnnmenu_break" />

I've gone thru the instructions i could find and added the following to the top of the ascx file:

<%@ Register TagPrefix="dnn" Namespace="DotNetNuke.UI.Skins" Assembly="DotNetNuke" %>

this call still exists at the top as well

<%@ Register TagPrefix="dnn" TagName="NAV" Src="~/Admin/Skins/Nav.ascx" %>

For the actual menu call I've replaced the information above with:

  <div class="menu_style">
<dnn:NAV runat="server" id="dnnNAV" ProviderName="DDRMenuNavigationProvider" IndicateChildren="False" ControlOrientation="Horizontal" CSSNodeRoot="main_dnnmenu_rootitem" CSSNodeHoverRoot="main_dnnmenu_rootitem_hover" CSSNodeSelectedRoot="main_dnnmenu_rootitem_selected" CSSBreadCrumbRoot="main_dnnmenu_rootitem_selected" CSSContainerSub="main_dnnmenu_submenu" CSSNodeHoverSub="main_dnnmenu_itemhover" CSSNodeSelectedSub="main_dnnmenu_itemselected" CSSContainerRoot="main_dnnmenu_container" CSSControl="main_dnnmenu_bar" CSSBreak="main_dnnmenu_break">
                            <CustomAttributes>
                            <dnn:CustomAttribute Name="MenuStyle" Value="SolPart"/>
                            </CustomAttributes>
                            </dnn:NAV>

But can't get it to work Not sure what exactly I'm missing but I'm fairly new to skinning and any help would be awesome. 

Thanks 

Eric 

 
New Post
1/25/2014 12:55 PM
 

I have recently done what  you're after right now or at least I think you are.

I went through ff. links (it looks as though you've done that too):

  1. DDR menu provider download
  2. DDR menu navigation provider example templates download
  3. I installed the DDR Menu module on a test page to see and tweak the superfish.css file in action
  4. Then to replace my NAV menu I added these two lines at the top of my ascx skin file:
  • <%@ Register TagPrefix="ddr" TagName="MENU" src="~/DesktopModules/DDRMenu/Menu.ascx" %>
  • <%@ Register TagPrefix="ddr" Namespace="DotNetNuke.Web.DDRMenu.TemplateEngine" Assembly="DotNetNuke.Web.DDRMenu" %>

5.  I removed (or actually commented out just in case) the NAV menu line in my ascx skin file:
<dnn:NAV runat="server" id="dnnNAV"  ProviderName="DNNMenuNavigationProvider" IndicateChildren="false" ControlOrientation="Horizontal" CSSControl="mainMenu" ToolTip="Title" />

and replaced it with ff. line:
<ddr:MENU MenuStyle="Superfish" runat="server" />

After saving the changes and refreshing the page my new SEO-compliant Superfish menu has been applied.

 Hope this helps.

 

 

 


English-Polish translations, one-to-one English/Polish tutoring, Windows server management, website development - HTML/JS/CSS/Razor
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Replacing Nav Menu Syntax with DDRMenuReplacing Nav Menu Syntax with DDRMenu


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.

Content Layout

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out