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

HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Module not getting added to paneModule not getting added to pane
Previous
 
Next
New Post
7/19/2009 5:40 PM
 

Hello there,

I downloaded the latest version of DNN (DotNetNuke 5.1.0 Install) and installed it successfully. Now I am trying to create a module. I followed this "DotNetNuke® Module using LINQ to SQL" tutorial and performed every step of it. But when I add the module to a pane, the module doesn't get added at all. I can add the built-in modules (such as TEXT/HTML) without any problems.

I then created a very simple module with nothing but a label and a button. After adding it, this module does not show up like the previous module.

Anyone with this problem in DNN 5.1.0? (I have created a few modules before for older versions of DNN without any problems).

Hungster

 

 
New Post
7/19/2009 8:06 PM
 

I've had no significant problems creating modules in DNN 5.01.00 (or 5.xx.xx in general). And in only a very few cases such as when I had relied upon a low-level core method did any of the DNN 4.x modules I had written over the last several years mis-behave when installed in DNN 5.01.00.

The most common cause for a module that installed without a problem not showing up when added to a page is having specified a non-blank ControlKey for the default view control. If the default view control's ControlKey has been given a non-blank value either in the module definitions or in the .dnn manifest file, the module will not be visible (even to administrators) and no error will be displayed or logged.


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
7/20/2009 6:10 AM
 

Thanks Bill - your answer pointed me in a direction that helped me figuring out my problem.

The way you add a new module has changed somewhat compared to the older versions of DNN (4.x) that I have used before.

These are the steps that I took to add a new module in DNN 5.

1. Create your module.
2. Log in as Host.
3. Host > Module Definitions.
4. Create New Module.
5. Specify Name, Friendly Name, Description, and Version. Click Next.
6. Keep default values for the input fields. Click Next.
7. Specify Owner, Organization, Url, and Email Address. Click Next.
8. Locate your module on the list and click the pencil icon to edit your module.
9. Scroll down to Module Definitions and click Add Definition.
10. Specify a Friendly Name and click Create Definition.
11. Click Add Module Control.
12. Specify the Title, Source (for instance, DesktopModules/MyTest/View.ascx) and Type (for instance, View). Click Update.
13. Click Update Module.
14. Add your module to a pane.

Hungster

 
New Post
7/20/2009 7:22 PM
 

Also to get the new manifest created for you make sure you use the Module Packager in 5.1 to get the new nodes etc.  Also check out the new Wrox DNN 5 book for some cool examples of uaing the .dnn file to manage your installs better.  Lots of work went into that.


Philip Beadle - Employee
 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Module not getting added to paneModule not getting added to pane


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