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  
Webhost4Life - $4.95 Windows Hosting
 


  Sponsors  

Meet Our Sponsors

SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Mixed Up with Module Packaging
Previous Previous
 
Next Next
New Post 2/25/2006 12:26 AM
User is offline Bilal Haidar
136 posts
9th Ranked




Mixed Up with Module Packaging 

Hello:

I am really mixed up.

I have created a custom module. The structure of this custom module is as follows:

Root/
      App_LocalResources
      Controls/
                 App_LocalResources/
                                              UserControl2.ascx.resx
                  UserControl1.ascx
                  UserControl2.ascx

       ViewControl.ascx
        EditControl.ascx
        SettingsControl.ascx

Now, I want to build my .dnn file. How to do so? How can I add the paths to UserControl1.ascx? How can I add the paths to UserControl2.ascx.resx?

Also, in my module, I have some lookup tables, that should be filled with some predata, and used all the times for look up. How can I create the 01.00.00.SqlDataProvider script and Uninstall.SqlDataProvider. I want to create them in such a way to make sure I can have the INSERT statements for those lookup tables. I kno wI should add the {databaseowner} and { objectqualifier}. But if I have a huge number of procedures and tables, do I do that manually?

Thank you.

 
New Post 2/27/2006 12:01 PM
User is offline Stefan Kamphuis
319 posts
www.superska.net
8th Ranked






Re: Mixed Up with Module Packaging 
I'd try something like:

<file>
  <path>Controls\App_LocalResources</path>
  <name>UserControl1.ascx.resx</name>
</file>

in the Files section of the .dnn file.

Greetz,
Stefan Kamphuis
 
New Post 2/27/2006 1:09 PM
User is offline Bilal Haidar
136 posts
9th Ranked




Re: Mixed Up with Module Packaging 

Thansks a lot.

I have a question, how do you generate SQL scripts for huge number of tables and procedures to be used by the module while installing?

Thanks

 
New Post 2/27/2006 1:19 PM
User is offline Stefan Kamphuis
319 posts
www.superska.net
8th Ranked






Re: Mixed Up with Module Packaging 
Well, I do it as follows: generate one giant script from within Sql Server Enterprise Manager (or Management Studio for 2005), open it in a Text editor and use "search and replace" to get all the {databaseowner}{objectqualifier} tags is.

Cycling through test-fail-fix-retest several times usually results in a good sciprt.
But there must be some guys using smarter tools for this...

Greetz,
Stefan Kamphuis
 
New Post 2/27/2006 1:22 PM
User is offline Bilal Haidar
136 posts
9th Ranked




Re: Mixed Up with Module Packaging 

Thanks a lot.

Do I just replace all [dbo] with {..}{..} ?

Thanks

 

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Mixed Up with Module Packaging
 


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.

 


PointClick.Net DNN Solutions
DotNetNuke Hosting Platform for Business and personal use.
PointClick.Net Hosted Solutions
Advanced Web Portals by Infoscaler
Infoscaler is a California based company that provides advanced Web Portals, E-commerce Sites, Database Applications and Intranet Solutions on the DotNetNuke and Microsoft.NET platforms.
www.infoscaler.com
DotNetNuke® in Sweden
All service of DotNetNuke® in Sweden.
Olsmar Konsult

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