Small width layoutMedium width layoutMaximum width layoutMaximum textMedium textSmall text首页RegisterLoginTerms Of UsePrivacy Statement
每天都来看看加入收藏写封信
您现在的位置:新闻文章 » 文章 » 正文
皮肤开发中控件使用说明查询帮助
作者:0km -psp 来源:原创 创建时间:12/20/2006

DotNetNuke Skin Objects and Container Objects Dynamic Reference

This is the same reference you can find in the DotNetNuke Skinning document but much easier to read.

How to use it:

- Select the object you are looking for from the drop down menu and it will show up.
- Click on the description and the attributes of the selected object will show up.
- If you select Solpartmenu you 'll see that the attributes have been grouped. Click on a group's name to find them.

  • [Token]
  • Control
  • Description
    • Attribute : Default Value (Description)

Skin Objects

  • [BANNER]
  • <dnn:Banner runat="server" id="dnnBanner" />
  • Displays a random banner ad
    • BorderWidth : 0 (The border width around the banner)
  • [BREADCRUMB]
  • <dnn:Breadcrumb runat="server" id="dnnBreadcrumb" />
  • Displays the path to the currently selected tab in the form of TabName1 > TabName2 > TabName3
    • Separator : breadcrumb.gif (The separator between breadcrumb links. This can include custom skin images, text, and HTML ( i.e. <![CDATA[&nbsp;<img src="file.gif">&nbsp;]]> ))
    • CssClass : SelectedTab (The style name of the breadcrumb links)
    • RootLevel : 1 (The root level of the breadcrumb links. Valid values include: - 1 - show word "Root" and then all breadcrumb tabs - 0 - show all breadcrumb tabs - n (where n is an integer greater than 0) - skip n breadcrumb tabs before displaying)
  • [CONTENTPANE]
  • <div runat="server" id="ContentPane"></div>
  • Injects a placeholder for module content
    • id : ContentPane (The content pane key identifier to be displayed in the user interface and stored in the database)
  • [COPYRIGHT]
  • <dnn:Copyright runat="server" id="dnnCopyright" />
  • Displays the copyright notice for the portal
    • CssClass : SelectedTab (The style name of portal copyright link)
  • [CURRENTDATE]
  • <dnn:CurrentDate runat="server" id="dnnCurrentDate" />
  • Displays the current date
    • CssClass : SelectedTab (The style name of date text)
    • DateFormat : MMMM dd, yyyy (The format of the date text)
  • [DOTNETNUKE]
  • <dnn:DotNetNuke runat="server" id="dnnDotnetNuke" />
  • Displays the Copyright notice for DotNetNuke (not required)
    • CssClass : Normal (The style name of DotNetNuke portal engine copyright text)
  • [HELP]
  • <dnn:Help runat="server" id="dnnHelp" />
  • Displays a link for Help which will launch the users email client and send mail to the portal Administrator
    • CssClass : OtherTabs (The style name of help link)
  • [HOSTNAME]
  • <dnn:HostName runat="server" id="dnnHostName" />
  • Displays the Host Title linked to the Host URL
    • CssClass : OtherTabs (The style name of host link)
  • [LANGUAGE]
  • <dnn:Language runat="server" id="dnnLanguage" />
  • Displays the language selector drop down list
    • CssClass : no default value (The style name of the drop down list)
  • [LINKS]
  • <dnn:Links runat="server" id="dnnLinks" />
  • Displays a flat menu of links related to the current tab level and parent node. This is useful for search engine spiders and robots
    • CssClass : CommandButton (The style name of the links)
    • Separator : &nbsp;&nbsp; (The separator between links. This can include custom skin images, text, and HTML. ( i.e. <![CDATA[&nbsp;<img src="file.gif">&nbsp;]]> ))
    • Alignment : Horizontal (The links menu alignment. Possible values: Horizontal, Vertical)
    • Level : Same (Determines the menu level to display. Possible values: Same, Child, Parent, Root))
  • [LOGIN]
  • <dnn:Login runat="server" id="dnnLogin">
  • Dual state control - displays "Login" for anonymous users and "Logout" for authenticated users
    • Text : Login (The text of the login link)
    • CssClass : OtherTabs (The style of the login link)
    • LogoffText : Logoff (The text for the logoff link)
  • [LOGO]
  • <dnn:Logo runat="server" id="dnnLogo" />
  • Displays the portal logo
    • BorderWidth : 0 (The border width around the logo)
  • [PRIVACY]
  • <dnn:Privacy runat="server" id="dnnPrivacy" />
  • Displays a link to the Privacy Information for the portal
    • Text : Privacy Statement (The text of the privacy link)
    • CssClass : OtherTabs (The style name of privacy link)
  • [SEARCH]
  • <dnn:Search runat="server" id="dnnSearch" />
  • Displays the search input box
    • Submit : Submit (HTML to activate the search lookup i.e "Search" or "Go" or <img src="mybutton.gif">)
    • CssClass : no default value (The style name of the search control)
  • [SIGNIN]
  • <dnn:Signin runat="server" id="dnnSignin" />
  • Displays the signin control for providing your username and password
    • no attributes available
  • [SOLPARTMENU]
  • <dnn:SolPartMenu runat="server" id="dnnSolPartMenu" />
  • Displays the hierarchical navigation menu (formerly [MENU])
    • Settings Colors Dimensions Effects Fonts CSS Arrows HTML Separators
    • separatecss : true (Use CSS defined in a style sheet. Possible values: true, false)
    • moveable : false (Flag to determine if menu can be moved. Possible values: true, false)
    • display : horizontal (Determines how the menu is displayed. Possible values: horizontal, vertical)
    • menualignment : Left (Alignment of the menu within the menu bar. Possible values: Left, Center, Right, Justify)
    • forcedownlevel : false (Flag to force the downlevel menu to display. Possible values: true, false)
    • forcefullmenulist : false (Displays the full menu as an indented list of normal hyperlinks, like a sitemap. Possible values: true, false)
    • level : Root (Root level of the menu in relationship to the current active tab. Possible values: Root, Same, Child)
    • rootonly : false (indicator to turn off submenus. Possible values: true, false)
    • tooltip : no default value (Tooltips added to the menu items. These come from the tab object properties which are filled from the tabs table. Possible values: Name, Title, Description)
    • mouseouthidedelay : 1 (Number of milliseconds to wait until menu is hidden on mouse out. 0 = disable)
    • cleardefaults : false (If true, this setting will clear/empty the default color settings of the menu so that they can be left empty and not just overridden with another value)
    • delaysubmenuload : false (If true this setting delays the loading of the menu until the rest of the page has rendered. This avoids the IE error "Operation Aborted". Possible values: true, false)
    • backcolor : #333333 (Background color)
    • forecolor : white (Fore color of menu item when selected)
    • highlightcolor : white (Color of top and left border to give a highlight effect)
    • iconbackgroundcolor : #333333 (Background color in area where icon is displayed)
    • selectedbordercolor : no default value (Color of border surrounding selected menu item)
    • selectedcolor : #CCCCCC (Background color of menu item when selected)
    • selectedforecolor : white (Fore color of menu item when selected)
    • menubarheight : 16 (Menu bar height in pixels)
    • menuborderwidth : 1 (Menu border width in pixels)
    • menuitemheight : 21 (Menu item height in pixels)
    • iconwidth : 0 (Width of icon column in pixels)
    • menueffectsshadowdirection : Lower Right (Determines which direction the shadow will fall. Possible values: None, Top, Upper Right, Right, Lower Right, Bottom, Lower Left, Left, Upper Left)