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  |  

DotNetNuke Marketplace
  Ads  
Biz Modules provides professional business modules and solutions for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Help! dnn 4.0.2 Add New Item - DotNetNuke Module - CompanyName.ModuleName question
Previous Previous
 
Next Next
New Post 3/12/2006 9:38 AM
User is offline Glen Martin
1 posts
10th Ranked


Help! dnn 4.0.2 Add New Item - DotNetNuke Module - CompanyName.ModuleName question 
Modified By Glen Martin  on 3/13/2006 2:25:55 PM)

Hello,

This is for dnn 4.0.2:

In the "DotNetNuke Module Developers Guide.pdf" document there is an example of how to name your new modules so they will not conflict with other modules etc. by naming it in the following format: CompanyName.ModuleName.

When I "Add New Item" in Visual Web Developer, the Name field is pre-populated with "ModuleName." So I change it to "myCompanyName.myModuleName" and click the Add button. I then get the instructions to change the folder names etc. which is fine.

The problem is that it names the classes,namespaces,files,etc. using "myCompanyName" without any reference to "myModuleName". Am I missing a step? Do I need to go manually rename all my name spaces etc to reflect "myCompanyName.myModuleName"?

Thanks, Glen

 
New Post 4/27/2006 12:56 PM
User is offline Clement Wong
4 posts
10th Ranked


Re: Help! dnn 4.0.2 Add New Item - DotNetNuke Module - CompanyName.ModuleName question 

I hope this may be useful to you.

1. The point that you give your module name as myCompanyName.myModuleName makes Visual Studio to treat anything after the dot as file extention. Then it mistakenly treat your module name as "myCompanyName".

My experience goes like this.

1. Name your module when Adding New item from Visual Studio (using the DNN template) as "myModuleName".

2. When you rename the folders in APP_Code and the one under DesktopModules, use this convention "myCompanyName.myModuleName".

3. Change, manually, all the namespace to "myCompanyName.Modules.myModuleName" or "myCompanyName.myModuleName". It is really a matter of preference.

4. Edit the myModuleName.dnn config file and the myModuleName.SqlDataProvider file. Change all referencea to myModuleName to myCompanyName.myModuleName, the later is your actual module name.

It should then work.

Happy DNN coding.

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Help! dnn 4.0.2 Add New Item - DotNetNuke Module - CompanyName.ModuleName question
 


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.

 


Data Springs Inc. - Module Development
Data Springs is a leader in the DNN community offering high quality modules, custom module development, enhancements to the DNN core product and overall DNN support.
www.datasprings.com
XCESS expertise center b.v.
Custom made modules and complete solutions for the DNN framework. Maatwerk modules en complete webtoepassingen gebaseerd op het DNN framework.
www.xcess.nl
EMAS Pro
Strategic Enrollment Management Software for Higher Education Recruitment, Retention and Financial Aid
www.emaspro.com

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