Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

PortalWebHosting
  Ads  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  Sponsors  

Meet Our Sponsors

Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
Verndale
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Help with module id
Previous Previous
 
Next Next
New Post 2/8/2006 6:32 AM
User is offline Ibrahim Mersin
4 posts
10th Ranked


Help with module id 

Hi Everyone,

I am a newbie in DNN module development. I installed DNN3.2 and VS2003 and installed dnn jungle's DNN templates to ease things for me. I read DNN docs about module development, also the tutorial form dnn jungle web site.

My problem is, I want to develop a db application as a module and I want the data to be the same among all instances of my modules. I don't want to populate each instance of my module with different data. So I thought I should omit using ModuleId, and removed it from all the files (Controller, info, ascx,etc), now when I try to add my module to the portal, I get "minmax" error which says I need a moduleId.

 

So, my question are:

Do I have to use the ModuleId somewhere in my code?

If I don't have to, then how can I solve my MinMax problem (my name spaces are checked three times, correct)

 

Thank you

 
New Post 2/8/2006 10:29 AM
User is offline Chevol Davis
22 posts
www.thornburgmortgage.com
10th Ranked


Re: Help with module id 

By default the DNN template tries to make a refrence to the ModuleID in the pageload event. The call is "list"... comment out that line and it will work fine. I can give you the exact line but I am unsure what language you are coding in I use C# and the following is the line I commented out:

//list = objSignup_form.GetByModules(ModuleId);

obj"Signup_form" is the name of my project, so this obviously will be replaced with the name of your project. Again I am not sure what it is in VB but it should be similar. Just comment it out and rebuild the solution and your module should work fine.

 

Chevol


What would life be if we had no courage to attempt anything? --Vincent Van Gogh
 
New Post 2/9/2006 1:07 AM
User is offline Ibrahim Mersin
4 posts
10th Ranked


Re: Help with module id 

Thank you very much for your help.

 

Best

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Help with module id
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


DNN Photo Gallery
DNN Photo Gallery is a truly unique photo management module released January 1st 2006. With DNN Photo Gallery you can REALLY integrate images into your existing portal and make them look like they were designed for your site.
DNN Photo Gallery
Swirlhost Inc.
Affordable DotNetNuke Hosting, Skin Development, Custom Module Development, and DotNetNuke Consulting. We will install your preference of DNN and now host with us and get a free license for the Swirl AJAX Chatroom Module.
www.swirlhost.com
Active Modules, Inc.
Creators of Active Forums, the best forum module for DotNetNuke
www.activemodules.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP