Login
Register
05-07-2008

Resources for the DotNetNuke Community
Join WebHost4Life.com
Support this site

  Support forums  

You need to be logged in in order to post to this forums.
SearchForum Home
  DotNetNuke Development  Templates  How to use port...
 How to use portalname
 
imgOfflineFrankDirks
2 posts
Joined
4/17/2006

How to use portalname
Posted: 17 Apr 06 12:59 PM
Hi, can anyone tell me what I should do to use the portalname token in an ascx skin? I cannot figure it out. THX
imgOfflinednnjungle
141 posts
5th
Joined
3/13/2005

Re: How to use portalname
Posted: 18 Apr 06 5:11 AM
You have to register the control with:
<%@ Register TagPrefix="dnn" TagName="PORTALNAME" Src="~/DesktopModules/VMasanas-PortalName/PortalName.ascx" %>

Then declare the control on the place where you would like it being displayed:
<dnn:PORTALNAME runat="server" id="dnnPORTALNAME" />

Whenever you need to use any skinobject on a skin use the same approach: register the control, and use it on the skin. Finally you should read the sko documentation to find what configuration attributes it supports and add the required attributes on the control declaration.

Disgrafic.com
imgOfflineFrankDirks
2 posts
Joined
4/17/2006

Re: How to use portalname
Posted: 07 May 06 7:46 AM
Okay,...works perfect. THX!
  DotNetNuke Development  Templates  How to use port...
© Vicenç Masanas Terms Of Use Privacy Statement   
.