简体   繁体   English

DotnetNuke模块集成

[英]DotnetNuke Module Integration

I have created a DNN module for a Poll. 我为Poll创建了一个DNN模块。 This module is created as a Project within my DNN project solution . 此模块在我的DNN项目解决方案中创建为项目。 I would like to integrate this module into the DNN website.Is there any chance of doing this? 我想将这个模块集成到DNN网站。有没有机会这样做? I already change the users controls to inherit PortalModuleBase withing my Poll project. 我已经使用我的Poll项目更改了用户控件以继承PortalModuleBase。 I went through this tutorial http://www.adefwebserver.com/DotNetNukeHELP/DNN4_SurveyModule/Default.htm but i realise it s not the same case since this one shows you how to create the module in the DNN site. 我浏览了这个教程http://www.adefwebserver.com/DotNetNukeHELP/DNN4_SurveyModule/Default.htm,但我意识到这不是同一个案例,因为这个向您展示了如何在DNN站点中创建模块。 thanks for your help 谢谢你的帮助

You should start with the DNN Module wizard for visual studio that comes with the DNN source package. 您应该从DNN源包附带的visual studio的DNN模块向导开始。 This will give you a 'hello world' module to start with. 这将为您提供一个“hello world”模块。

You also need to create a manifest file for your module. 您还需要为模块创建清单文件。 Take a look at DNN Module Packager . 看看DNN Module Packager

This XML file will contain the relative paths of all your module files when installed. 此XML文件将包含安装时所有模块文件的相对路径。 The manifest file is zipped along with all your module files and installed in the DNN Host menu when logged in as the host user. 清单文件与所有模块文件一起压缩,并以主机用户身份登录时安装在DNN主机菜单中。

Most of this information and starter modules can be found on the DNN website under documentation. 大多数此类信息和入门模块可以在DNN网站的文档中找到。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM