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  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Ads  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

R2integrated - formerly bi4ce
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
 


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.

 


Multipartner Virtual Data Rooms
The Virtual Data Rooms (VDR) provided by an expert advisor, far from any ordinary software company!, supporting the sellers and their consultants. Multipartner builds and services higly professional Virtual Data Rooms (VDR) specifically tailored to M&A, Real Estate and NPL deals.
www.multipartner.com
DNN SEO
Seablick Consulting specializes in DNN search engine optimization (SEO), DNN consulting, as well as support & training.
seablick.com
Intura Vision / Intura Enterprise
Point-of-Sale and business management applications targeted towards quick service, fast casual and delivery-based restaurant concepts.
www.intura.com

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