HomeHomeUsing DotNetNuk...Using DotNetNuk...Skins, Themes, ...Skins, Themes, ...Is there a way to convert [Tab:tabname] to a skin object in DNN 5.6.1?Is there a way to convert [Tab:tabname] to a skin object in DNN 5.6.1?
Previous
 
Next
New Post
2/22/2011 2:32 PM
 
I already know how to use the [Tab:tabname] inside an HTML object but i'd like to simplify this by making this a Skin Object instead of adding an HTML container and then the tabname

My Question:
In version of DNN 5.6.1, is there a "Simple" way to convert the Token of [Tab:tabname] to a skin object in DNN 5.6.1 ?  This is so that i can just include it in my skin and be done with it.

If yes, please share an example code sample? Or is this feature not yet available in DNN 5.6.1?

Asking the community to Please advise...
Thanks

 
New Post
2/22/2011 3:01 PM
 
you may use [TEXT] Skin object with "[Tab:Tabname]" content and tokenreplace turned on, see http://test.timo-design.nl/dnn/skindoc/DotNetNuke%205%20Skin%20Objects%20Beta%20Doc%204.pdf

Cheers from Germany,
Sebastian Leupold (DotNetNuke MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group   European Network of DotNetNuke Professionals

 
New Post
2/22/2011 3:52 PM
 
Thank You so much for pointing me in the right direction.... i think i almost have it... however the following modified code failed to produce the token replace equivalent when i dropped it into my skin. Please Review and advise.

i placed the following in the header of my ASCX file
<%@ Register TagPrefix="dnn" TagName="TEXT" Src="~/Admin/Skins/Text.ascx" %>


Then i placed the following TEXT control in my Skin where it did not work... it did not produce the true Tab Name but rather just produced or rendered [Tab:TabName]
<div id="PageTitlePane" class="PageTitlePaneClass" runat="server"><dnn:TEXT runat="server" id="dnnTEXT" replaceTokens="True" />[Tab:TabName]</div>

Please advise what i am doing wrong... the above
I'm so close.... i hope?
Again please advise...


 
New Post
2/22/2011 4:04 PM
 
you need to use < dnn:TEXT runat="server" id="dnnTEXT" text="[Tab:TabName]" replaceTokens="True" />

Cheers from Germany,
Sebastian Leupold (DotNetNuke MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group   European Network of DotNetNuke Professionals

 
New Post
2/22/2011 4:19 PM
 
D' OH!... i'm so embarrassed... i got in a hurry... Thank you for your patience...

THAT IS CORRECT! IT WORKED!!!!

THANK YOU SO MUCH.... THANK YOU THANK YOU!!!!

THIS IS FANTASTIC!!!!
 
Previous
 
Next
HomeHomeUsing DotNetNuk...Using DotNetNuk...Skins, Themes, ...Skins, Themes, ...Is there a way to convert [Tab:tabname] to a skin object in DNN 5.6.1?Is there a way to convert [Tab:tabname] to a skin object in DNN 5.6.1?


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Start  Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

Sponsors

DotNetNuke Corporation

DotNetNuke (DNN) provides a suite of solutions that make designing, building and managing feature-rich sites and communities fast, easy and cost-effective. The DotNetNuke Platform CMS is the foundation for more than one million websites worldwide. DNN Social, our newest solution, enables businesses to create immersive, interactive communities. Thousands of organizations like True Value Hardware, Bose, Cornell University, Glacier Water, Dannon, Delphi, USAA, NASCAR, Northern Health and the City of Denver have leveraged DNN to deploy highly engaging business- critical websites. Our rapid growth in product sales and deployments resulted in DotNetNuke Corp. being named one of the fastest growing private companies in America by Inc. Magazine in 2011 and 2012.