English 中文(简体)
dotnetnuke doubts
原标题:

i want to build a website in dnn 5. i have studied dnn5, its installation, starter-kit installation, built-in modules (both of Host and Admin), installing a custom module (from module extension), creating packages.

I had rather still some doubts left in my mind.

1.How should i progress if i need to built my custom module in some new website (& not in dotnetnuke.com website)

2.How is deployment done at client side? Is it done by creating packages or what, i dont know.please suggest some possible solution

3.I want to create a document module to satisfy my client requirements. This module is already built by dotnetnuke.com as an extra module. What should be done to include this module in my new website so that only my requirements could be reflected instead of creating the module entirely from scratch?

thanks

最佳回答

I m not entirely sure about what you re looking to do, but I ll answer as much as I can.

I would suggest setting up a DotNetNuke website on your local machine, using the Source package. You can then create a new module (starting it either through the website itself, or by using a Visual Studio template). I strongly suggest using a Web Application Project for the module, keeping it in the website s DesktopModules folder (so that you re only dealing with the module s code, and don t have the entire website open in your project). Also, make sure you use the module and any other extension points to implement your functionality, rather than making changes to the actual DNN core code (since any changes to the core will make it that much more difficult to upgrade to newer versions of DNN).

I strongly suggest getting some automated packaging in place (the template that I linked to has a NAnt build script with it that you can use to package your module). It is so much easier to deploy modules as installable packages than trying to migrate individual files.

You can get the source version of the Documents module from its Codeplex project. It s licensed under the MIT license (like DNN itself), so you re free to use it as a starting point for your own module. Just download the source package and install it into your development site. The install will include all of the source and also includes a Visual Studio project that you can use. After installing, I would suggest that your first step be to rename the namespace (so that you re differentiated from the core module).

UPDATE
To deploy the website, I would suggest installing DNN on the server using the main DNN Install package. Then, once that is installed, you can install the module into the website using the package that you have created. A default installation of DNN will only have the Text/HTML module, in addition to administrative modules, so you shouldn t have very many extra, unused functionality present in the site.

Leave me a comment & update your question (or start a new question) if there s anything else you need to know.

问题回答

It sounds like you are looking to use DotNetNuke as a development environment to write code that won t be deployed in a DotNetNuke site. While I love DNN, there s absolutely no reason to do this. Only use DNN for developing DNN stuff.

To address point #1, if the functionality you want is somewhere else you could use an IFRAME module. Check out: http://www.dotnetnuke.com/Community/Extensions-Forge/view/ProjectDetail/project/dnniframe.aspx





相关问题
How do you alter the page_load for DotNetNuke

For the main menu, I want the first four links to be blue, and specifically the last four links to be yellow. There will only be eight menu items. I was thinking of hard coding the yellow links into ...

ASP.NET MVC project to port [closed]

Is there a project out there that attempts to replicate or re-create a portal framework like DotNetNuke using MVC framework

how to install dnn (v 5.2.0) in vs (any of 2005 or 2008)?

i need to install DNN on my pc. I dont mind what dotnet version this would be: either 2005 or 2008 but i need to install DNN v 5.x.y and not any previous installation + also need to configure in my ...

dotnetnuke doubts

i want to build a website in dnn 5. i have studied dnn5, its installation, starter-kit installation, built-in modules (both of Host and Admin), installing a custom module (from module extension), ...

Develop a Family Tree Portal with several functinality

We need to develop a family tree portal which also supports functinality like Portal Framework (Sub portal) Dashboard Blogs, Forums, Events, Polls, Task Member subscription Advertisement Chat ...

Domain Name Windows Vista Does Not Exist In The Database

I am trying to install DOTNETNUKE model on my local machine ( Windows Vista) but seem to be running into a problem right after installing the Database. Not exactly sure where to go to fix the problem ...

Find all CSS styles used on website

I have a DotNetNuke skin that has a single CSS file over 3,500 lines long. It contains styles for YUI, Telerik, Cluetip as well as the actual customisation of the site. The old developers just kept ...

热门标签