DotNetNuke Modules – Creating Base Modules

Now that we have DotNetNuke installed into Visual Studio we can go ahead and create our first modules. Actually, creating the modules is pretty simple. But it is even easier to do it wrong, which is why you need to read this post.

Assuming you have your DotNetNuke project open, right-click on the project folder to bring up a menu. Select “Add New Item…” from the menu. This will bring up the “New Item Template” dialog. Under “My Templates” at the bottom of the list, you should see the template, “DotNetNuke Dynamic Module.” Click on this template, select the language you want to work in, and give the module a name. The rest of this series will be in CSharp, so if you want to follow along, you’ll want to select CSharp as the language you are using.

I’m going to name this module “DMBSample.” Note, it is absolutely critical that you run this template from the project folder, NOT one of the directories. If you don’t, you will either have to start over, or you’ll need to move the files around. You’ve been warned!

Once the template has completed running, you’ll need to rename two of the directories the template created. An HTML file will display at completion telling you exactly what you need to do. DO NOT just close that file thinking it is just a status message. Read it, at least the first time you create modules, and do what it says.

 

Other post in DotNetNuke - Module Development

Related Post

7 Responses to “DotNetNuke Modules – Creating Base Modules”

Leave a Reply

Comment Policy:

  • You must verify your comment by responding to the automated email that is sent to your email address. Unverified comments will never show.Leave a good comment that adds to the conversation and I'll leave your link in.
  • Leave me pure spam and I'll delete it.
  • Leave a general comment and I'll remove the link but keep the comment.

Notify me of followup comments via e-mail

Bear