Manifest: Widget Component

Return to previous page

  • 4/7/2015
  • 1061 Views

Comments

1061 Views

Manifest: Widget Component

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

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