DNN Skinning

17

DNN Tokens

Portal

* portal:url=www.dnnskin.com
* portal:portalid=
* portal:portalname= dotnetnuke skins
* portal:homedirectory=/Portals/0/
* portal:homedirectorymappath=
* portal:logofile=dnnskin_Logo.png
* portal:footertext=
* portal:expirydate=
* portal:userregistration=
* portal:banneradvertising=
* portal:currency=
* portal:administratorid=
* portal:email=
* portal:hostfee=
* portal:hostspace=
* portal:administratorroleid=
* portal:administratorrolename=
* portal:registeredroleid=
* portal:registeredrolename=
* portal:description=
* portal:keywords=
* portal:backgroundfile=
* portal:siteloghistory=
* portal:admintabid=
* portal:supertabid=
* portal:splashtabid=
* portal:hometabid=
* portal:logintabid=
* portal:usertabid=
* portal:defaultlanguage=en-US
* portal:timezoneoffset=
* portal:version=

Tab

* tab:tabid=
* tab:taborder=
* tab:portalid=
* tab:tabname=
* tab:parentid=
* tab:level=
* tab:iconfile=
* tab:title=
* tab:description=
* tab:keywords=
* tab:url=
* tab:skinsrc=
* tab:containersrc=
* tab:tabpath=
* tab:startdate=
* tab:enddate=
* tab:skinpath=
* tab:containerpath=
* tab:fullurl=
* tab:refreshinterval=
* tab:pageheadtext=
* tab:authorizedroles=
* tab:administratorroles=

Module

* module:portalid=
* module:tabid=
* module:tabmoduleid=
* module:moduleid=
* module:moduledefid=
* module:moduleorder=
* module:panename=
* module:moduletitle=
* module:authorizededitroles=
* module:cachetime=
* module:authorizedviewroles=
* module:alignment=left
* module:color=
* module:border=
* module:iconfile=
* module:authorizedroles=
* module:header=
* module:footer=
* module:startdate=
* module:enddate=
* module:containersrc=
* module:desktopmoduleid=
* module:friendlyname=
* module:description=
* module:version=
* module:businesscontrollerclass=
* module:modulecontrolid=
* module:controlsrc=
* module:controltitle=
* module:helpurl=
* module:containerpath=
* module:panemoduleindex=
* module:panemodulecount=
* module:supportedfeatures=

User

* user:affiliateid=
* user:displayname=
* user:email=
* user:firstname=
* user:lastname=
* user:portalid=
* user:userid=
* user:username=
* user:fullname=

Membership

* membership:createddate=
* membership:lastactivitydate=
* membership:lastlockoutdate=
* membership:lastlogindate=
* membership:lastpasswordchangedate=
* membership:password=
* membership:passwordanswer=
* membership:passwordquestion=
* membership:email=
* membership:username=

Profile

* profile:cell=
* profile:city=
* profile:country=
* profile:fax=
* profile:firstname=
* profile:fullname=
* profile:im=
* profile:lastname=
* profile:postalcode=
* profile:preferredlocale=
* profile:region=
* profile:street=
* profile:telephone=
* profile:unit=
* profile:timezone=
* profile:website=

Date

* date:current=Monday, July 5, 2011
* date:now=7/5/2011 5:30 PM

Ticks

* ticks:today=23453908460000000
* ticks:now=95385000000000
* ticks:ticksperday=243900000000000

[Read the rest of this article...]

03
To make you dnn site XHTML compliant, here are the things you should keep in mind: XHTML elements must be properly nested XHTML documents ...

[Read the rest of this article...]

Posted in: DNN Skinning
26
09
Where is the best place for image files?

[Read the rest of this article...]

Posted in: DNN Skinning
05

1. Admin -> Skins then select "Restore Default Skin"

 

2. If you know your way around SQL you could use the SQL box in the host menu. The skin setting is in the table Tabs, you need to nullify the column SkinSrc for all the pages in the portal you wish to reset.

 

There is an easy way to clear all of these assignments IF you have database access. You can run the following query:-
 
UPDATE dnn_Tabs SET SkinSrc = null (WHERE PortalID = [PortalID)*
 
* Notes
  • Optional clause to be used to only apply on a specific portal.
  • Watch for the objectQualifier, the default is dnn_
The same concept can be applied to contains and the ContainerSrc column of dnn_Tabs.
 
From source1 and source 2

 

 

]

[Read the rest of this article...]

12
 

They are coded as buttons:
<asp:button id="cmdLogin" resourcekey="cmdLogin" cssclass="StandardButton" text="Login" runat="server" width="100%" />

BUT you can style them to almost look like text links by setting the StandardButton class in your skin.css file:
.StandardButton {
background: #ffffff none;
border: 0px;
color: black;
text-decoration: underline;
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight: normal;
}
Adjust the colors, font, etc. to match your skin.  I wasn't able to set a different style for hover, etc...

[Read the rest of this article...]

10
If you refer to navigation, you don't really need the Solpartmenu in any page, you can play with the LINKS skin object for speedier page loads, albeit not as cool as webusers expect since it is not a menu and has some restrictions, but when you want the first page to load quickly, this is helpful.

[Read the rest of this article...]

Posted in: DNN Skinning
 
LatestArticles