Add a module definition
After completing the work described in the previous articles, we can add the module to the DNN. Although the module can not be run now, but first added to the side of the development side to see the effect of it.
First, use host (host Administrator) identity login, into the "host--> module Definitions", click "Add new Module definition" To add the newly defined module.
Second, enter the following module information and then click "Update" to save the new module.
Module name (module name): mycompany.article
Folder Name (where the module is located): Article Note: This should be truthfully fill in the written.
Friendly name (friendly): Myarticle This can be casually filled in the list of modules can be added to the display value.
Description (Descriptive information): MyCompany Article
Version (release information): 01.00.00
Controller Class (Control Class): This is primarily used to tell DNN to implement isearchable (query aggregation interface) and iportable (Import Export interface) classes, Here we enter: DotNetNuke.Modules.Media.MediaController, DotNetNuke.Modules.Media. In the future we will implement these classes.
Supported Features (Support properties): After saving DNN will be automatically obtained according to the interface you implement. Upgradeable is a new feature I haven't studied it carefully, and I'll talk about it later. The other two are query aggregations, and the import is exported.
Premium (surcharge): You can specify that the module can be used on those sites.
Third, add the module definition. A module can include multiple module definitions that allow them to work together.
Definitions: Existing module definition.
New definition: Adds a newer module definition. Here we enter: mycompany.article