Thursday, March 11, 2010

DotNetNuke (DNN) Replacement Tokens Reference
Minimize

 

Token Example Token Description
[Date:Current]    
[DateTime:Now] 07/14/2008 12:34 Current Date and Time
[DateTime:Now | ] d - Short Date
D - Long Date
t - Short Time
T - Long Time
M - Month and Day
f - Long Date and Short Time
F - Long Date and Long Time
g - Short Date and Short Time
G - Short Date and Long Time
Y - Year and Month
For date/time and numeric values, you can also append a string defined by the .NET framework, for example: Current date/time formatted according to, e.g. [DateTime:Now|f] displays current date in short format (does not apply to expressions of calculated columns)
Token Example Token Description
[Membership:Approved] Yes / No Is User Approved?
[Membership:CreatedDate] 05/05/2000 12:34 Displays the date and time when the user registered on the site.
[Membership:email]    
[Membership:IsOnline] Yes / No Indicates if the user is currently online
[Membership:lastactivitydate]    
[Membership:lastlockoutdate]    
[Membership:lastlogindate]    
[Membership:lastpasswordchangedate]    
[Membership:password]   Note: access to password is restricted for datasource Membership
[Membership:passwordanswer]    
[Membership:passwordquestion]    
[Membership:username]    
Token Example Token Description
[Module:alignment]    
[Module:authorizededitroles]    
[Module:authorizedroles]    
[Module:authorizedviewroles]    
[Module:border]    
[Module:businesscontrollerclass]    
[Module:cachetime]    
[Module:color]    
[Module:containerpath]    
[Module:containersrc]    
[Module:controlsrc]    
[Module:controltitle]    
[Module:Description]   Module Definition Description
[Module:desktopmoduleid]    
[Module:EndDate]   Module Display Until Date
[Module:Footer]   Module Footer Text
[Module:FriendlyName]   Module Definition Name
[Module:Header]   Module Header Text
[Module:HelpUrl]   Module Help URL
[Module:IconFile]   Module Path to Icon File
[Module:modulecontrolid]    
[Module:moduledefid]    
[Module:moduleid]    
[Module:moduleorder]    
[Module:ModuleTitle]   Module Title
[Module:panemodulecount]    
[Module:panemoduleindex]    
[Module:PaneName]   Module Name of Pane where UDT resides
[Module:portalid]    
[Module:StartDate]   Module Display from Date
[Module:supportedfeatures]    
[Module:tabid]    
[Module:tabmoduleid]    
[Module:version]    
Token Example Token Description
[Portal:administratorid]    
[Portal:administratorroleid]    
[Portal:administratorrolename]    
[Portal:admintabid]    
[Portal:backgroundfile]    
[Portal:banneradvertising]    
[Portal:Currency] USD Displays the portal currency type as set on the Site Settings page.
[Portal:defaultlanguage]    
[Portal:Description]   Displays the portal description as set on the Site Settings page.
[Portal:Email] admin@domain.com Displays the email address of the primary Administrator as set on the Site Settings page.
[Portal:expirydate]    
[Portal:FooterText] Copyright 2008 by Seymour Computer Consulting Displays the copyright text;entered in the Copyright field on the Site Settings page.
[Portal:HomeDirectory]  /Portals/0/ Portal (relative) Path of Home Directory.
[Portal:homedirectorymappath]    
[Portal:hometabid]    
[Portal:hostfee]    
[Portal:hostspace]    
[Portal:keywords]    
[Portal:logintabid]    
[Portal:LogoFile] logo.gif Portal Path to Logo file. E.g. logo.gif
[Portal:PortalAlias]   Portal URL
[Portal:portalid]    
[Portal:PortalName] My Website The portal description as set on the Site Settings page.
[Portal:registeredroleid]    
[Portal:registeredrolename]    
[Portal:siteloghistory]    
[Portal:splashtabi]    
[Portal:supertabid]    
[Portal:TimeZoneOffset]   Difference in minutes between Portal default time and UTC.
[Portal:url]    
[Portal:userregistration]    
[Portal:usertabid]    
[Portal:version]    
Token Example Token Description
[Profile: ]   Use any default or custom Profile Property defined for user profiles as listed in Profile Property Definition section of Manage User Accounts. Please use non-localized ("Name") Property titles only.
[Profile:cell]    
[Profile:city] Downingtown  
[Profile:country] USA  
[Profile:fax]    
[Profile:firstname] Andrew  
[Profile:fullname]    
[Profile:im]    
[Profile:lastname] Seymour  
[Profile:postalcode] 19335  
[Profile:preferredlocale]    
[Profile:region]    
[Profile:street]    
[Profile:telephone]    
[Profile:timezone]    
[Profile:unit]    
[Profile:website] http://www.aseymour.com  

Click here to expand contentClick here to collapse content  Tab

Token Example Token Description
[Tab:authorizedroles]    
[Tab:containerpath]    
[Tab:containersrc]    
[Tab:Description] Welcome to My Website Displays the description of the current page.
[Tab:EndDate]   Page Display Until Date
[Tab:FullUrl] http://www.domain.com / Services / tabid / 73 / Default.aspx Displays the full URL of the current page.
[Tab:IconFile] icon.gif Page Relative Path to Icon file
[Tab:KeyWords] Computers, Technical Support, etc Page Keywords for Search Engine
[Tab:level]    
[Tab:PageHeadText]   Page Header Text
[Tab:parentid]    
[Tab:portalid]    
[Tab:refreshinterval]    
[Tab:skinpath]    
[Tab:skinsrc]    
[Tab:StartDate]   Page Display from Date
[Tab:tabid]    
[Tab:TabName] Home Page name
[Tab:taborder]    
[Tab:TabPath]   Page relative path
[Tab:Title]   Page Title (Window Title)
[Tab:URL]   Page URL
Token Example Token Description
[Ticks:Now] 633283000000000000 CPU Tick Count for Current Second
[Ticks:TicksPerDay] 864000000000 CPU Ticks per Day (for calculations)
[Ticks:Today] 633283000000000000 CPU Tick Count since Midnight

Click here to expand contentClick here to collapse content  User

Token Example Token Description
[User:affiliateid]    
[User:DisplayName] aseymour User's Display Name
[User:Email] alseymour@aseymour.com User's Email Address
[User:FirstName] Andrew The first name of the user.
[User:FullName] Andrew Seymour [deprecated] - The last name of the user.
[User:LastName] Seymour User's Last Name
[User:portalid]    
[User:userid]    
[User:Username] andrew User's Login User Name
  
Value Added Reseller (VAR) Relationships
Minimize
Google AdSense Advertising
Minimize


Seymour Digital Consulting • Downingtown, PA USA • (610) 304-4393

Privacy Statement  |  Terms Of Use
© 1998-2010 by Seymour Digital Consulting