web design malta, dnn, dotnetnuke, website design, seo

Follow DotNetMushroom on TwitterFollow DotNetMushroom on LinkedIN
 

Community Forum

Free Community Support

Please note that this is a Community Forum - meaning that forum posts will be answered by members of the DotNetMushroom Community and occasionally by DotNetMushroom employees at their own discretion. For Critical Suppport, kindly refer to our Priority Support Tickets
Subject: Replacement Token Option
Prev Next
You are not authorized to post a reply.

AuthorMessages
Matt SeamonsUser is Offline

Posts:5

13 Sep 2010 6:50 PM Alert 
A major item that needs to be added to DNM is token replacement. Just make the syntax like the HTML Module in DNN.

This is the extremely short list of replacement tokens DNM currently does (that I know of):

%dnm_userid - Returns the User Id of the current logged in user
%dnm_username - Returns the Username of the current logged in user
%dnm_sid - Returns the Session ID of the current Session
%dnm_role - Used when you need to filter by current User's Role

Here is a list found at http://www.dnnstuff.com/Modules/InjectAnything/InjectAnythingDemos/DNNTokenReplacement/tabid/355/language/en-US/Default.aspx.

Portal

* portal:url=www.dnnstuff.com
* portal:portalid=8
* portal:portalname=DNN Stuff - Quality DotNetNuke Modules, Unrivaled Support
* portal:homedirectory=/Portals/8/
* portal:homedirectorymappath=*******
* portal:logofile=DNNStuff_Logo.png
* portal:footertext=Copyright (c) 2004-2010 DNNStuff
* portal:expirydate=*******
* portal:userregistration=*******
* portal:banneradvertising=*******
* portal:currency=CAD
* portal:administratorid=*******
* portal:email=support@dnnstuff.com
* portal:hostfee=*******
* portal:hostspace=*******
* portal:administratorroleid=*******
* portal:administratorrolename=*******
* portal:registeredroleid=*******
* portal:registeredrolename=*******
* portal:description=DNNStuff creates the best fully supported DotNetNuke modules on the market
* portal:keywords=dotnetnuke, dnn, dnn module, dnn modules, dotnetnuke module, dotnetnuke tabs, dnn tabs, dotnetnuke module rotator, dnn module rotator, script injector, script injection, free module, sharepoint
* portal:backgroundfile=
* portal:siteloghistory=*******
* portal:admintabid=*******
* portal:supertabid=*******
* portal:splashtabid=*******
* portal:hometabid=*******
* portal:logintabid=*******
* portal:usertabid=*******
* portal:defaultlanguage=en-US
* portal:timezoneoffset=-300
* portal:version=*******

Tab

* tab:tabid=355
* tab:taborder=*******
* tab:portalid=8
* tab:tabname=DNN Token Replacement
* tab:parentid=*******
* tab:level=*******
* tab:iconfile=
* tab:title=DNN Token Replacement - DNNStuff - Inject Anything
* tab:description=This demo shows token replacement of standard DNN tokens
* tab:keywords=
* tab:url=
* tab:skinsrc=*******
* tab:containersrc=*******
* tab:tabpath=//Modules//InjectAnything//InjectAnythingDemos//DNNTokenReplacement
* tab:startdate=*******
* tab:enddate=*******
* tab:skinpath=*******
* tab:containerpath=*******
* tab:fullurl=http://www.dnnstuff.com/Modules/InjectAnything/InjectAnythingDemos/DNNTokenReplacement/tabid/355/language/en-US/Default.aspx
* tab:refreshinterval=*******
* tab:pageheadtext=*******
* tab:authorizedroles=*******
* tab:administratorroles=*******

Module

* module:portalid=8
* module:tabid=355
* module:tabmoduleid=1699
* module:moduleid=1204
* module:moduledefid=*******
* module:moduleorder=*******
* module:panename=ContentPane
* module:moduletitle=Standard DNN Tokens
* 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=DNNStuff - InjectAnything
* module:description=Allows you to inject css, javacsript, vbscript or html content from a variety of sources including the filesystem or directly entered text.
* module:version=01.01.00
* module:businesscontrollerclass=DNNStuff.InjectAnything.IPortableController
* module:modulecontrolid=*******
* module:controlsrc=*******
* module:controltitle=
* module:helpurl=http://wiki.dnnstuff.com
* 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, September 13, 2010
* date:now=9/13/2010 11:49 AM

Ticks

* ticks:today=634199328000000000
* ticks:now=634199753567658058
* ticks:ticksperday=864000000000
Richard SletcherUser is Offline

Posts:6

26 Dec 2011 7:27 PM Alert 
Hi
I think you should consider implimenting MyTokens from DNNSharp.com that way you can have any tokens you like and the integration is very simple.Chris Onyak implimented MyToken support in under three hrs in several of his modules.
Regards
Richard
Luke RoccoUser is Offline

Posts:294

02 Jan 2012 2:20 PM Alert 
We'll look into it ;)

Thanks for the valuable feedback.


Regards,

Luwk
Doug BlackmonUser is Offline

Posts:173

24 Feb 2012 5:10 PM Alert 
I would like to second this feature.

It's to important not have in RAD due to the tight integration between RAD and the DNN.

Think of how Zig would be without Zag or a Ying without the Yang, I think you get the point :)

Also just to point out XMOD Pro and I believe OWS support this functionality as well.

Thanks,

Doug
Luke RoccoUser is Offline

Posts:294

27 Feb 2012 11:01 AM Alert 
Thanks Doug,

As we said previously, we'll look into integrating this Token Replacement functionality in DNM RAD.
You are not authorized to post a reply.
Forums > DNM RAD > DNM RAD Wishlist > Replacement Token Option



DotNetMushroom offers
DotNetNuke © (DNN) based web
design in Malta and Worldwide
Copyright (c) 2008 - 2012

Holistic IT Group

web design malta, dnn, dotnetnuke, website design, seo