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

Return to previous page

  • 4/7/2015
  • 1907 Views

Comments

1907 Views

Manifest: Widget Component

Last updated 8 years ago

Comments

Common

(Enter the content of this article below)

Advanced

 
The Widget component defines a the Widget for DotNetNuke.

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

Elements and attributes

<component   type="Widget">

<widgetFiles>
<basePath></basePath>
<widgetFile>
<path/>
<name/>
</widgetFile>
</widgetFiles>
</component>

  • basePath: the folder where all the files will be copied, relative to the folder Resources\Widgets\User where all user widgets are installed
  • widgetFile: defines all files that are part of this widget. The path is relative to the previously especied basePath.

Sample

<component type="Widget">

<widgetFiles>
<basePath>YourCompany</basePath>
<widgetFile>
<name>YourCompany.Widgets.SampleWidget.js</name>
</widgetFile>
<widgetFile>
<name>license.txt</name>
</widgetFile>
<widgetFile>
<name>releasenotes.txt</name>
</widgetFile>
</widgetFiles>
</component>

References

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