Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Tokens in DNN  6Tokens in DNN 6
Previous
 
Next
New Post
9/20/2011 7:15 PM
 
I'm running into this too. I'm trying to get the current username to display, but not having much luck. I look forward to a bug fix.
 
New Post
9/21/2011 2:51 AM
 
Until the text skin object gets fixed, there's an example skin with all kinds of attributes here:
http://dnnskinextensions.codeplex.com...

(using <%=......%>, which should always work)

Examples:

<%=UserController.GetCurrentUserInfo().Username%>
<%=UserController.GetCurrentUserInfo().Displayname%>
 
New Post
12/3/2012 11:03 AM
 
I have just come across this issue of displaying Tab Tokens for the first time today, using version 6.02.05. as i was converting a DNN 5.x site which never had a problem displaying Tab Tokens...

In previous versions of DNN you could drop the following code in you skin:
<dnn:TEXT runat="server" id="dnnTEXT" CssClass="MyTitleHeaderText" replaceTokens="True" Text="[Tab:title]" />
And use that to display the page title or whatever...

Unless I am mistaken, It appears that this is STILL an issue in version 6.02.05 ?
I'll try some of the work-a-rounds listed in this post but if someone has a solution they find to work better, please post here.

Right now it looks like the post from codeplex and 40 fingers offers the best solution as a work around:
<%If PortalSettings.ActiveTab.Level > (0) Then Response.Write(PortalSettings.ActiveTab.BreadCrumbs(0).TabName)%>
This too displays the Tab Name in DNN 6.02.05...

However the old way of <dnn:TEXT runat="server" id="dnnTEXT" CssClass="MyTitleHeaderText" replaceTokens="True" Text="[Tab:title]" />
appears not to work version 6.x unless someone has found a way to make the old way of displaying TAB Tokens in skins work?
 
New Post
1/6/2013 2:43 PM
 
Is this issue fixed? I am trying to use social group tokens using DNNTEXT, but it is not working for me... any suggestions?
 
New Post
2/22/2013 6:16 AM
 
They change the property 'Text' to 'ShowText' , so if you add
< dnn:TEXT ... ReplaceTokens="true" ShowText="[User:DisplayName]" / > it will work again.

Pffft, Peter

Peter Schotman
Cestus Websites voor DotNetNuke oplossingen in Nederland
Contact us for your custom design and skinning work.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Tokens in DNN  6Tokens in DNN 6


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out