Dnn control pane (controlpanel) with page module definition as the unit to add)

Source: Internet
Author: User
Tags dnn

In my article "exploring dnn Database Core table structure and design ideas", the addition of the dnn module actually adds a desktop module. When the added desktop module is defined by more than one module, after being added, several page modules are generated, that is, one module is defined as one module.

To add a module in the unit of page module, we made some modifications to classic. ascx to achieve this purpose.

A definition drop-down box will be added to the right of the module. After the module is selected, all the module definitions of some desktop modules will be displayed in the module definition drop-down box. After the modules are added, only one page module will be added, instead of a desktop module.

Procedure:
Download/files/shiningrise/dnn/controlpanel.rar and put the two files in the website \ admin \ controlpanel directory.
Then execute the following SQL statement in the SQL Manager:

Insert into {databaseowner} {objectqualifier} modulecontrols (controlkey, controltitle, moduledefid, controlsrc, iconfile,

Controltype, vieworder)
Values ('controlpanel: classicexbywxy', null, null, 'admin/controlpanel/classicexbywxy. ascx', null,-3, null)
Go

Finally, on the host settings page, set it to classicexbywxy.

Pass the test in dnn4.5.5

Related Articles:
Controlpanel Study Series 1: a simple introduction to the control panel of dnn)
Dnn Database Core table structure and design ideas
Source code:/files/shiningrise/dnn/controlpanel.rar

Apply to join the dnn team. Add me as the dnn team administrator.

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.