Products

Solutions

Resources

Partners

Community

Blog

About

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!

Manifest: Skin Component

Return to previous page

  • 4/7/2015
  • 5893 Views

Comments

5893 Views

Manifest: Skin Component

Last updated 8 years ago

Comments

Common

(Enter the content of this article below)

Advanced

 
The Skin component defines a skin for DotNetNuke.

The Skin Component inherits from the File Component and uses a similar syntax.

Elements and attributes

<component type="Skin">

<skinFiles>
<basePath></basePath>
<skinName></skinName>
<skinFile>
<path></path>
<name></name>
</skinFile>
</skinFiles>
</component>

  • basePath: the folder where all the files will be copied, relative to the root of the installation
  • skinName: the name of the skin package
  • skinFile: defines all files that are part of this skin. The path is relative to the previously especied basePath.

Since skin files need to be parsed at installation time to replace relative folder names, files of type ascx, html, html, css must be declared as skinFiles in the component in order for the installer to be able to parse them.
All other support files (images, js, ...) can be packaged using the ResourceFile component to simplify the complexity of the skin package.

Sample

The following sample shows part of the MinimalExtropy skin distributed with the DNN Core package:

<component type="Skin">

<skinFiles>
<skinName>MinimalExtropy</skinName>
<basePath>Portals\_default\Skins\MinimalExtropy</basePath>
<skinFile>
<path>app_localresources</path>
<name>index 1024.ascx.resx</name>
</skinFile>
...
</skinFiles>
</component>

References


Contents
No sections defined
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out