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  |  

Maximum ASP
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Help with module id
Previous Previous
 
Next Next
New Post 2/8/2006 5: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 9: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 12: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.

 


Overlook Technology
Website Development, DotNetNuke Consulting, Module Development, Portal Management
OverlookTechnology.com
DeutschNetNuke = DotNetNuke in German
DeutschNetNuke provides all DotNetNuke related services in German (and English).
www.DeutschNetNuke.de
The Standard in Senior Housing Information
SNAPforSeniors provides consumers with free online resources to assist them with their search for senior housing
www.snapforseniors.com

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