DotNetNuke Token Replace

Token Replace is available since DNN 4.6.0, as a mechanism for generating dynamic content based on current runtime variable. The available token is depend on the DNN version being used. The list below are based on 5.4.2. You can also import the Token List Example to see it in action.

Portal Token
        [Portal:portalid]
        [Portal:portalname]
        [Portal:logofile]
        [Portal:footertext]
        [Portal:expirydate]
        [Portal:userregistration]
        [Portal:banneradvertising]
        [Portal:administratorid]
        [Portal:currency]
        [Portal:hostfee]
        [Portal:hostspace]
        [Portal:pagequota]
        [Portal:userquota]
        [Portal:administratorroleid]
        [Portal:administratorrolename]
        [Portal:registeredroleid]
        [Portal:registeredrolename]
        [Portal:description]
        [Portal:keywords]
        [Portal:backgroundfile]
        [Portal:guid]
        [Portal:paymentprocessor]
        [Portal:processoruserid]
        [Portal:processorpassword]
        [Portal:siteloghistory]
        [Portal:email]
        [Portal:admintabid]
        [Portal:supertabid]
        [Portal:users]
        [Portal:pages]
        [Portal:splashtabid]
        [Portal:hometabid]
        [Portal:logintabid]
        [Portal:registertabid]
        [Portal:usertabid]
        [Portal:defaultlanguage]
        [Portal:timezoneoffset]
        [Portal:homedirectory]
        [Portal:version]

Tab Token
        [Tab:tabid]
        [Tab:taborder]
        [Tab:portalid]
        [Tab:tabname]
        [Tab:isvisible]
        [Tab:parentid]
        [Tab:level]
        [Tab:iconfile]
        [Tab:iconfilelarge]
        [Tab:disablelink]
        [Tab:title]
        [Tab:description]
        [Tab:keywords]
        [Tab:isdeleted]
        [Tab:url]
        [Tab:skinsrc]
        [Tab:containersrc]
        [Tab:tabpath]
        [Tab:startdate]
        [Tab:enddate]
        [Tab:haschildren]
        [Tab:refreshinterval]
        [Tab:pageheadtext]
        [Tab:skinpath]
        [Tab:skindoctype]
        [Tab:containerpath]
        [Tab:issupertab]
        [Tab:fullurl]
        [Tab:sitemappriority]

Module Token
        [Module:portalid]
        [Module:tabid]
        [Module:tabmoduleid]
        [Module:moduleid]
        [Module:moduledefid]
        [Module:moduleorder]
        [Module:panename]
        [Module:moduletitle]
        [Module:cachetime]
        [Module:cachemethod]
        [Module:alignment]
        [Module:color]
        [Module:border]
        [Module:iconfile]
        [Module:alltabs]
        [Module:isdeleted]
        [Module:header]
        [Module:footer]
        [Module:startdate]
        [Module:enddate]
        [Module:containersrc]
        [Module:displaytitle]
        [Module:displayprint]
        [Module:displaysyndicate]
        [Module:iswebslice]
        [Module:webslicetitle]
        [Module:websliceexpirydate]
        [Module:webslicettl]
        [Module:inheritviewpermissions]
        [Module:desktopmoduleid]
        [Module:friendlyname]
        [Module:foldername]
        [Module:description]
        [Module:version]
        [Module:ispremium]
        [Module:isadmin]
        [Module:businesscontrollerclass]
        [Module:modulename]
        [Module:supportedfeatures]
        [Module:compatibleversions]
        [Module:dependencies]
        [Module:permissions]
        [Module:defaultcachetime]
        [Module:modulecontrolid]
        [Module:controlsrc]
        [Module:controltitle]
        [Module:helpurl]
        [Module:supportspartialrendering]
        [Module:containerpath]
        [Module:panemoduleindex]
        [Module:panemodulecount]
        [Module:isdefaultmodule]
        [Module:allmodules]
        [Module:isportable]
        [Module:issearchable]
        [Module:isupgradeable]

User Token
        [User:verificationcode]
        [User:affiliateid]
        [User:displayname]
        [User:email]
        [User:firstname]
        [User:issuperuser]
        [User:lastname]
        [User:portalid]
        [User:userid]
        [User:username]
        [User:fullname]
        [User:roles]

Last edited Jun 20, 2010 at 4:12 PM by jmerari, version 2

Comments

No comments yet.