Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...How to create two custom modules from the same folderHow to create two custom modules from the same folder
Previous
 
Next
New Post
2/19/2014 9:14 AM
 

Hi, I am using DNN 7

 

I want create 2 module from same desktopmodule module folder

 Like

Add a new folder to DesktopModules
Place two ascx controls in that new folder
Go to Host > Extentions and click the Create New Module button
Create a module from one of the controls.
Go back and create a module from the other control

but for second module i am getting error:

The module 'ModuleName' has already been registered in the system


 

 
 
New Post
2/19/2014 5:04 PM
 
the create new module method is designed for a single ascx (if you want multiples try creating via a manifest where you have defined the separate user controls). Typically for this type of situation you create the module for the first one and then edit it's settings and add any additional module detinitions/module controls - http://www.dnnsoftware.com/help#Docum... control

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
2/25/2014 5:40 PM
 
avisatna wrote:

Hi, I am using DNN 7

 

I want create 2 module from same desktopmodule module folder

 Like

Add a new folder to DesktopModules
Place two ascx controls in that new folder
Go to Host > Extentions and click the Create New Module button
Create a module from one of the controls.
Go back and create a module from the other control

but for second module i am getting error:

The module 'ModuleName' has already been registered in the system


 

 

 

I brought this up, and may have even opened a support ticket at one point. Won't be addressed is the response I received. I never make installs/manifests since 99% of my module development isn't intended for distribution. It would be great if you could do this, but I don't think its going to be a priority. BTW, you used to be able to do this in older versions of DNN. I think it may have stopped around DNN 6 or 7.

 
New Post
2/25/2014 5:47 PM
 
 
New Post
4/11/2014 2:49 PM
 

After you create your first module, you can create another manually from the same folder using the "Create New Extension" option under Host -> Extensions:

1.  Under "Select Extension Type", select Module.
2.  Add in whatever Name/Friendly Name/Description/Version you want, click "Next".
3.  Module Specific Details appears to be broken, but that is good in our case so it can't validate and tell us we can't do it.  Just click "Next".
4.  Fill in Owner/Organization/URL/Email with whatever, click "Next".
5.  This will drop you back at the main list, find your extension, click "Edit".
6.  Expand "Module Definitions", click "Add Definition".
7.  Re-Expand "Module Definitions", and Fill in what you want for Definition Name/Friendly Name/Cache Time, click "Create Definition"
8.  Re-Expand "Module Definitions" (Annoyed?), click "Add Module Control".
9.  Select your Source, and add any other details you need.  Click "Update".

I agree though, the "Create New Module" throwing an error the second time around seems like a bug.  I do it this way all the time so that all of our controls are in a single clean folder.  We only break things out when it is a large scale effort that it makes sense to have everything separate.

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...How to create two custom modules from the same folderHow to create two custom modules from the same folder


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out