Manifest: Skin Component

Return to previous page

  • 4/7/2015
  • 2892 Views

Comments

2892 Views

Manifest: Skin Component

Last updated 5 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

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