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