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.
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

OnyakTech
The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
MadCap Software, Inc.
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Packaging a module
Previous Previous
 
Next Next
New Post 12/4/2007 2:03 AM
User is offline DeVen
138 posts
9th Ranked


Packaging a module 

Hello everybody,

I have to package a module. I've seen the tutorial in DotNetNuke documentations, but I have a question.

If I changed the default name assigned to stored procedure, create other stored procedure, or add a user control or a resource file, have I to modify .dnn file and 01.00.00.SqlDataProvider file of my module before packaging it?

Thank you in advance.

 
New Post 12/4/2007 8:31 AM
User is offline Brian Dukes
359 posts
www.engagesoftware.com
8th Ranked


Re: Packaging a module 

Your SqlDataProvider is what will be used to setup the database structure for your module, so it needs to contain the most up to date scripts.  If you have renamed or created stored procedures, you will need to make sure that your script is creating those correctly.

The .dnn file will map user controls to a module control in DNN.  All of your user controls that you are loading through DNN will need to be represented in the <controls> element.  The resource files and user controls also need to be represented as files so that they are placed in the correct location.  There are two options for doing this.  You can create a zipped resource file that contains all of your user controls and resource files in the correct structure, and then set that file in the <resourcefile> element (before the <modules> element).  If you aren't using a resource file, every file that you want to end up on the user's site will need to be represented in the <files> element.

Hope it helps!


Brian Dukes
Engage Software
St. Louis, MO
314.966.4000

The leading provider of DotNetNuke support, training and custom module development.
 
New Post 12/5/2007 12:30 AM
User is offline DeVen
138 posts
9th Ranked


Re: Packaging a module 

Thank you very much Brian,

so is it correct if in SQL Server Enterprise Manager I do a "Generate SQL Script...",  I  choose all tables and stored procedure of my module, I check the option "Script PRIMARY keys ecc.", and then I copy the script generated to my SqlDataProvider file?

Thanks.

 
New Post 12/5/2007 12:52 AM
User is offline Sebastian Leupold
12959 posts
www.deutschnetnuke.de
1st Ranked












Re: Packaging a module 

 DeVen wrote

If I changed the default name assigned to stored procedure, create other stored procedure, or add a user control or a resource file, have I to modify .dnn file and 01.00.00.SqlDataProvider file of my module before packaging it?

You need to modify the SqlDataProvider file to include all database modifications to be made and you need to adopt the data access code to use proper objects.

For universal usage, replace default [dbo]. with {databaseOwner} and precede all object names with objectQualifier (that's why the objectQualifier in development.config is set to "dnn_", to leverage this task). 


Sebastian Leupold



DotNetNuke Project UserDefinedTable
DotNetNuke Project XML/XSL
 
New Post 12/5/2007 2:48 AM
User is offline DeVen
138 posts
9th Ranked


Re: Packaging a module 

Ok, thank you very much!

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Packaging a module
 


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.

 


UK - DotNetNuke providers
UK providers of DNN module development and skin package design. Oxford Information Labs provides cost-effective solutions for businesses and organisations specialising in Skin design and bespoke module development.
www.oxil.co.uk
TronixSoft
Hosting for local businesses that want more from their websites.
www.TronixSoft.com
The Forerunner Network
The Forerunner Network consists of a group of Dynamic Website & Interactive Membership Portal hosting services that are managed by Forerunner Communications. Our services span a wide range of markets and enable individuals, organizations and businesses to build and manage dynamic, interactive portals and websites.
The Forerunner Network

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