Manifest: SkinObject Component

Return to previous page

  • 4/7/2015
  • 1848 Views

Comments

1848 Views

Manifest: SkinObject Component

Last updated 6 years ago

Comments

Common

(Enter the content of this article below)

Advanced

 
The skin control installer is used in a Manifest for describing Skin Objects to be installed by DotNetNuke. An example would be for instance the [LOGIN] or [TERMS] skin objects packaged with DotNetNuke. However, you can build your own and use them to further enhance your site.

Elements and attributes

<component type="SkinObject">

<moduleControl>
<controlKey />
<controlSrc/ >
<supportsPartialRendering />
</moduleControl>
</component>

  • controlKey: This is the key to how you reference the skin object when building a skin. e.g. [COPYRIGHT]
  • controlSrc: This is the path to install the skin object's ascx file.
  • supportsPartialRendering: If your skin object supports partial rendering via a MS AJAX update panel wrapper.

Only one control is allowed per component, so if you have to register multiple SkinObjects you have to include separate components for each one

Sample

In this example we are adding a tell a friend skin object.
<component type="SkinObject">

<moduleControl>
<controlKey>YourCompanyNameTellFriend</controlKey>
<controlSrc>DesktopModules/YourCompanyNameSkinObjects/TellFriend.ascx</controlSrc>
<supportsPartialRendering>False</supportsPartialRendering>
</moduleControl>
</component>

References

Contents
No sections defined

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out