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: Container Component

Return to previous page

  • 4/7/2015
  • 3426 Views

Comments

3426 Views

Manifest: Container Component

Last updated 8 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
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out