Saturday, July 31, 2010    
Blog  
OpenLight Blog
Jan 17

Written by: Michael Washington
1/17/2010 7:01 AM 

How to make a simple Hello World Module using DotNetNuke 5

Follow one of the the options below to install DotNetNuke 5.2 (or higher) to create a DotNetNuke Website:

Log into the website using the Host account.

From the Host menu, select Module Definitions

At the bottom of the Module Definitions page, select Create New Module

Select New from the Create Module From dropdown.

On the Owner Folder row, click Add Folder

Enter HelloWorld for the Folder Name and click Create Folder

On the Module Folder row, click Add Folder

Enter HelloWorld for the Folder Name and click Create Folder

  • Enter View.ascx for the File Name and select C# for the Language
  • Enter Hello World Module for the Name
  • Check the Add test Page? check box
  • Click the Create Module link

The module will be created.

Using Visual Studio, open the DotNetNuke website by selecting File from the Toolbar, and then select Open Web Site...

In the Solution Explorer, you will see the HelloWorld module under the DesktopModules folder

Open the View.ascx file and switch to Design mode. Type Hello World! and save the page.

In the web browser, refresh the page and see the changes.

Tags:

Your name:
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Add Comment   Cancel 
  
Copyright 2009 by OpenLightGroup.net   |  Privacy Statement  |  Terms Of Use