Skip to content

DNN Skin Objects

Erwin Yulianto edited this page Mar 1, 2022 · 3 revisions

Skin Objects

BREADCRUMB

<%@ Register TagPrefix="dnn" TagName="BREADCRUMB" Src="~/Admin/Skins/Breadcrumb.ascx" %>
  • CssClass (String) - Sets the CSS class used to render this skin object
  • Separator (String) - Defines the separator to be used in between links
  • RootLevel (Integer) - Defines from what level in the page hierarchy the breadcrumb should render
  • UseTitle (Boolean) True,False - Defines whether to use the page Name or the page Title

CONTROLPANEL

<%@ Register TagPrefix="dnn" TagName="CONTROLPANEL" Src="~/Admin/Skins/ControlPanel.ascx" %>
  • IsDockable (Boolean) True,False - Enables the control panel to be docked to the browser window. This feature is only supported by some control panels.

COPYRIGHT

<%@ Register TagPrefix="dnn" TagName="COPYRIGHT" Src="~/Admin/Skins/Copyright.ascx" %>
  • CssClass (String) - Sets the CSS class used to render this skin object

CURRENTDATE

<%@ Register TagPrefix="dnn" TagName="CURRENTDATE" Src="~/Admin/Skins/CurrentDate.ascx" %>
  • CssClass (String) - Sets the CSS class used to render this skin object
  • DateFormat (String) - Sets the date format used to render the date

DnnCssExclude

<%@ Register TagPrefix="dnn" TagName="DnnCssExclude" Src="~/Admin/Skins/DnnCssExclude.ascx" %>
  • Name (String) - Name of the framework (DnnDefault, Bootstrap, etc) or library to remove

DnnCssInclude

<%@ Register TagPrefix="dnn" TagName="DnnCssInclude" Src="~/Admin/Skins/DnnCssInclude.ascx" %>
  • FilePath (String) - Relative path to file
  • PathNameAlias (String) - PathNameAlias is a reference to a common folder location. Right now we have established two: "SkinPath" (the path to the current skin) and "SharedScripts" (~/Resources/Shared/Scripts/).
  • Priority (Integer) - Priority is an integer based scheme for determining the file load order. The default priority is 100. See the Relative Order section below for more information.
  • ForceProvider (String) - ForceProvider is a string value that specifies what provider to be used. This corresponds to the location in the page where the script will be rendered. See the Providers section below for more information.
  • AddTag (Boolean) False - Adds tag in the HTML identifying the loaded resource
  • Name (String) - Name of the framework (DnnDefault, Bootstrap, etc) or library to remove
  • Version (String) - Version of this resource if it is a framework. Note this field is only used when Framework is specified.
  • ForceVersion (Boolean) False - Force this version to be used. Meant for skin designers that wish to override choices made by module developers or the framework.
  • ForceBundle (Boolean) - If the resources is an external resource then normally it will be rendered as it's own download unless this is set to true. In that case the system will download the external resource and include it in the local bundle.

DnnJsExclude

<%@ Register TagPrefix="dnn" TagName="DnnJsExclude" Src="~/Admin/Skins/DnnJsExclude.ascx" %>
  • Name (String) - Name of the framework (DnnDefault, Bootstrap, etc) or library to remove

DnnJsInclude

<%@ Register TagPrefix="dnn" TagName="DnnJsInclude" Src="~/Admin/Skins/DnnJsInclude.ascx" %>
  • FilePath (String) - Relative path to file
  • PathNameAlias (String) - PathNameAlias is a reference to a common folder location. Right now we have established two: "SkinPath" (the path to the current skin) and "SharedScripts" (~/Resources/Shared/Scripts/).
  • Priority (Integer) - Priority is an integer based scheme for determining the file load order. The default priority is 100. See the Relative Order section below for more information.
  • ForceProvider (String) - ForceProvider is a string value that specifies what provider to be used. This corresponds to the location in the page where the script will be rendered. See the Providers section below for more information.
  • AddTag (Boolean) False - Adds tag in the HTML identifying the loaded resource
  • Name (String) - Name of the framework (DnnDefault, Bootstrap, etc) or library to remove
  • Version (String) - Version of this resource if it is a framework. Note this field is only used when Framework is specified.
  • ForceVersion (Boolean) False - Force this version to be used. Meant for skin designers that wish to override choices made by module developers or the framework.
  • ForceBundle (Boolean) - If the resources is an external resource then normally it will be rendered as it's own download unless this is set to true. In that case the system will download the external resource and include it in the local bundle.

DNNLINK

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

DOTNETNUKE

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

HELP

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

HOSTNAME

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

JavaScriptLibraryInclude

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

JQUERY

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

LANGUAGE

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

LEFTMENU

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

LINKS

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

LINKTOFULLSITE

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

LINKTOMOBILESITE

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

LOGIN

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

LOGO

<%@ Register TagPrefix="dnn" TagName="LOGO" Src="~/Admin/Skins/Logo.ascx" %>
<dnn:LOGO runat="server" id="dnnLogo" CssClass="logo-img" LinkCssClass="logo" />
  • BorderWidth (String) - Sets the border width of the logo image
  • CssClass (String) - Sets a CSS class on the logo
  • LinkCssClass (String) - Sets a CSS class on the hyperlink
  • InjectSvg (Boolean) - If set to true, the control will read the contents of the Logo file, look for an svg tag, and inject it directly into hyperlink

MENU

<%@ Register TagPrefix="dnn" TagName="MENU" src="~/DesktopModules/DDRMenu/Menu.ascx" %>

META

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

MODULEMESSAGE

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

NAV

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

PRIVACY

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

SEARCH

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

STYLES

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

TAGS

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

TERMS

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

TEXT

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

TOAST

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

TREEVIEWMENU

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

USER

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

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