HTML Encoded Token |
Token |
Example Use Case |
Portal Tokens |
[Portal:Currency] |
USD |
Displays the site currency type |
[Portal:Description] |
This is a non-indexed website for development and demo purposes. |
Displays the site description |
[Portal:Email] |
info@clickexplorer.com |
Displays the primary administrator's email address |
[Portal:FooterText] |
Copyright 2024 © Webmonton Ltd. |
Displays portal's copyright text |
[Portal:HomeDirectory] |
/Portals/0/ |
Displays the relative path of the portal's home directory |
[Portal:LogoFile] |
sample-logo-demo-inc3.png |
Displays path to the portal's logo file |
[Portal:PortalID] |
0 |
Displays the ID of the current portal |
[Portal:PortalName] |
Click Explorer - Dev and Demo Website |
Displays the name of the portal |
[Portal:TimeZoneOffset] |
|
Displays the time zone offset for the portal |
User Tokens |
[User:DisplayName] |
|
Displays the display name of the user |
[User:UserID] |
|
Displays the ID of the current user |
[User:Email] |
|
Displays the email address of the user |
[User:FirstName] |
|
Displays the first name of the user |
[User:LastName] |
|
Displays the last name of the user |
[User:Username] |
|
Displays the username of the user |
Membership Tokens |
[Membership:Approved] |
|
Indicates if the user is approved |
[Membership:CreatedDate] |
|
Displays the date and time when the user registered on the site |
[Membership:IsOnline] |
|
Indicates if the user is currently online |
Tab Tokens |
[Tab:Description] |
This is the current description of the Token Reference page |
Displays the description of the current page |
[Tab:FullUrl] |
http://clickexplorer.com/Brilliance-Skin/DNN-Token-Reference |
Displays the full URL of the current page |
[Tab:IconFile] |
|
Displays the relative path to the page's icon file |
[Tab:KeyWords] |
|
Displays the keywords for the current page |
[Tab:TabName] |
DNN Token Reference |
Displays the name of the current page |
[Tab:TabPath] |
//BrillianceSkin//DNNTokenReference |
Displays the relative path of the current page |
Date/Time Tokens |
[DateTime:Now] |
5/6/2024 11:51 PM |
Displays the current date and time |
[DateTime:Now|f] |
Monday, May 6, 2024 11:51 PM |
Displays long date and short time. |
[DateTime:Now|F] |
Monday, May 6, 2024 11:51:24 PM |
Displays long date and long time. |
[DateTime:Now|g] |
5/6/2024 11:51 PM |
Displays short date and short time. |
[DateTime:Now|G] |
5/6/2024 11:51:24 PM |
Displays short date and long time. |
[DateTime:Now|Y] |
May 2024 |
Displays year and month. |
[DateTime:UTC] |
5/7/2024 5:51 AM |
Coordinated Universal Time. |
[DateTime:UTC|f] |
Tuesday, May 7, 2024 5:51 AM |
Coordinated Universal Time - long date and short time. Other appended options are F, g, G and Y; as for DateTime above. |
[DateTime:System] |
5/6/2024 11:51 PM |
Displays date and time as per local settings. |
[DateTime:System|f] |
Monday, May 6, 2024 11:51 PM |
Displays date and time as per local settings. This example displays long date and short time. Other appended options are F, g, G and Y; as for DateTime above. |
Ticks Tokens |
[Ticks:Now] |
638506362840879140 |
Displays the CPU tick count for the current second |
[Ticks:Today] |
638505504000000000 |
Displays the CPU tick count since midnight |
[Ticks:TicksPerDay] |
864000000000 |
Displays the number of CPU ticks per day for calculations |