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, ...How to Develope Skin ObjectsHow to Develope Skin Objects
Previous
 
Next
New Post
8/25/2006 11:30 PM
 
    Does anyone know how to develop and deploy a Skin Objects in DNN4.3.4
 
New Post
8/26/2006 5:01 AM
 

That's great .I finally seeked the solution,which is the same as the DNN_Module Development.

OK,Let's move on

 
New Post
8/26/2006 12:15 PM
 

A skin object is essentially a module, except that its deployment script is different and causes the module to be configured in DNN as a skin object. You could make any module a skin object and any skin object a module to be used within your content panes by changing the way its configured in your portal.

Its worth noting that modules can be added to a .ascx skin file even if theyre not configured within DNN, this is because you're specifying a fixed location for it within your skin, the module placement system is not involved. However if making a skin object for distribution you need to have a deployment script which can set up the proper details within DNN. This is because the [MySkinObject] tags are used with the HTML+XML skinning method.

So anyway, to create a skin object you need to be creating a module, i like the BlankModule setup found here:

http://vladan.strigo.net/Default.aspx?tabid=78

 

 
New Post
8/26/2006 1:15 PM
 

Hi Jeffrey,

Although very close, and the advice is good, the statements are not exactly true. 

A Module Inherits from PortalModuleBase and a SkinObject inherits from SkinObjectBase.

You eluded to it, but a very important distinction is that a module needs to be injected into the page so that it gets a ModuleId, whereas a SkinObject is not dynamically injected into a page and does not have the ability to get a ModuleId assigned to it.

I used to make all my SkinObjects inherit from PortalModuleBase just to give them a couple extra properties, but in the latest releases it won't work because a ModuleId is expected for some of the newer features in the ClientAPI.

In order to get a Module to work like a SkinObject you will need to trick it by assigning it a ModuleID.  What ModuleID you assign it can have other ramifications, but unless you want to do something like save settings for your SkinObject it is best to just let it inherit from SkinObjectBase so you don't have to set worry about it.


DotNetNuke Modules from Snapsis.com
 
New Post
8/26/2006 1:26 PM
 

Interesting! thanks for the clarification.
I had made my skin objects inherit from PortalModuleBase and hadn't encountered any issues yet.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...How to Develope Skin ObjectsHow to Develope Skin Objects


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