DNN Module Development Series (3)--adding module definitions to DNN

Source: Internet
Author: User
Tags dnn dotnetnuke

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.