Login      Register
 

DotNetNuke Built-in Skin/Template Functions for Website Designers

The DotNetNuke built-in functions you may or may not use for skins are listed as follows:

Banners
DotNetNuke provides banner advertising if desired. In Admin Site Settings you have options for this feature. The Administrator chooses the Banners module to place the banner on the page and/or the skin can contain this function as well. It can be placed next to the logo in the header bar or footer pane if desired. The banner size can be 468 x 60 pixels, so if the logo is to be placed here is should be less than 300 pixels to fit the page for an 800 x 600 viewer. This does not include all borders and any extra graphics that may be part of the page. If you have a skin with the banner function included and you do not want it to display then in the following line add Visible="False". In skin.ascx this is how the function looks:

<dnn:BANNER runat="server" id="dnnBANNER" />

Logo
This function displays the logo at the top of the page. This feature can be turned on or off in Admin Site Settings.

<dnn:LOGO runat="server" id="dnnLOGO" />

Login
This function is displayed as Login for unauthenticated users. Once the user is logged in this function displays Logoff. Users that Login are automatically assigned as Registered Users in DotNetNuke. In Admin Site Settings you can select how this feature works.

<dnn:LOGIN runat="server" id="dnnLOGIN" />

Profile
This function is displayed as Register for unauthenticated users. Once the user is logged in then this function displays the user name. Users clicking on their user name can update or unregister from the website.

<dnn:USER runat="server" id="dnnUSER" />

Date
This function is displayed as the current date, formats include but not limited to:
dateformat=“MM/dd/yy“ to get 09/19/04.
dateformat=“MMM/dd/yy“ to get Sep/19/04.
dateformat=“MMMM/dd/yy“ to get September/19/04.
dateformat=“MMMM/dd/yyyy“ to get September/19/2004.
dateformat=“ddd,MMM,dd,yyyy“ to get Sun,Sep,19,2004.
dateformat=“"MMMM dd, yyyy" to get September 19, 2004.

<dnn:CURRENTDATE runat="server" id="dnnCURRENTDATE" dateformat="mm/YY/DD" />

Menu
This function displays the DotNetNuke menu as horizontal or vertical. If you do not want the DotNetNuke menu then you have to build your own custom navigation bar.

<dnn:MENU runat="server" id="dnnMENU" display="horizontal" />

Links
This function displays the top and/or submenus of the DotNetNuke menu in a separate list. Try to keep the fonts small, in Version 3 these links placed horizontally in the admin skin will wrap due to the length of the new admin submenus.

<dnn:LINKS runat="server" id="dnnLINKS" />

Breadcrumb
The Breadcrumb function displays when the user clicks on a submenu item. The submenu item is displayed on the page. Each submenu item is displayed, so keep in mind that the user can enter many levels of submenus and each one will display.

<dnn:BREADCRUMB runat="server" id="dnnBREADCRUMB" />

Copyright
Copyright displays the copyright information you entered in Admin Site Settings.

<dnn:COPYRIGHT runat="server" id="dnnCOPYRIGHT" />

Terms
This function displays a preformatted Terms agreement. The terms text can be changed in your systemmessages.xml file located in your Portals/_default folder. In Version 3.1 change it in your portals/admin/skins/terms.ascx.

<dnn:TERMS runat="server" id="dnnTERMS" />

Hostname
Host displays the title name in Admin Site Settings.

<dnn:HOSTNAME runat="server" id="dnnHOSTNAME" />

Privacy Statement
This function displays a preformatted Privacy agreement. It uses the Admin Site Settings Title, host and copyright information that you entered to fill out the form. The privacy text can be changed in your systemmessages.xml file located in your Portals/_default folder. In Version 3.1 change it in your portals/admin/skins/privacy.ascx.

<dnn:PRIVACY runat="server" id="dnnPRIVACY" />

DotNetNuke
This function displays a link that says “portal engine source code is copyright © 2002 – 2004 by DotNetNuke. All rights reserved.” Clicking on this link takes you to www.dotnetnuke.com.

<dnn:DOTNETNUKE runat="server" id="dnnDOTNETNUKE" />

To see the above skin functions, download a working skin/template visit My-ASP.Net's Tutorial skin.

 

 
Copyright 2002-2006 My-ASP.Net Terms Of Use    Privacy Statement portals@my-asp.net