Manifest: Container Component

Return to previous page

  • 4/7/2015
  • 1424 Views

Comments

1424 Views

Manifest: Container Component

Last updated 5 years ago

Comments

Common

(Enter the content of this article below)

Advanced

 
The Container component defines a Container for DotNetNuke.

The Container Component inherits from the Skin Component and uses a similar sintax.

Elements and attributes

<component type="Container">

<containerFiles>
<basePath></basePath>
<containerName></ContainerName>
<containerFile>
<path></path>
<name></name>
</containerFile>
</containerFiles>
</component>

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

Since Container files need to be parsed at installation time to replace relative folder names, files of type ascx, html, html, css must be declared as ContainerFiles 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 Container package.

Sample

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

<component type="Container">

<containerFiles>
<containerName>MinimalExtropy</containerName>
<basePath>Portals\_default\Containers\MinimalExtropy</basePath>
<containerFile>
<name>license.txt</name>
</containerFile>
<containerFile>
<name>releaseNotes.txt</name>
</containerFile>

...
</containerFiles>
</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