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.