Follow me @MarkXA

Subscribe

Donate

Upgrading a SolPart menu

After installing the menu module, edit your skin file using one of the following methods. For old-style SolPart menus:

  • Replace
    <%@ Register TagPrefix="dnn" TagName="..." src="~/Admin/Skins/SolPartMenu.ascx" %>
    with
    <%@ Register TagPrefix="dnn" TagName="..." src="~/DesktopModules/DDRMenu/SolPartMenu.ascx" %>

For newer SolPart menus that use the <dnn:nav> syntax:

  • If it's not already there, add
    <%@ Register TagPrefix="dnn" Namespace="DotNetNuke.UI.Skins" Assembly="DotNetNuke" %>
    to the list of Register tags at the start of the skin (this enables custom attributes for the dnn:nav control).
  • Replace
    <dnn:nav providername="SolpartMenuNavigationProvider" ...></dnn:nav>
    with
    <dnn:nav providername="DDRMenuNavigationProvider" ...>
    <CustomAttributes><dnn:CustomAttribute Name="MenuStyle" Value="SolPart"/></CustomAttributes>
    </dnn:nav>