Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Banner ModuleBanner Module
Previous
 
Next
New Post
3/2/2007 5:31 PM
 
swillhite (mrswoop) wrote

Knew it couldn't be THAT simple ;)

I've not tested the following SQL, but these two statements SHOULD be about what you need... you can run it from the Host SQL window or do this via Enterprise Manager or with whatever access you have:

 

INSERT INTO [dbo].[ModuleControls]
           ([ModuleDefID]
           ,[ControlKey]
           ,[ControlTitle]
           ,[ControlSrc]
           ,[IconFile]
           ,[ControlType]
           ,[ViewOrder]
           ,[HelpUrl])
     VALUES
           (
           ,NULL
           ,NULL
           ,'Admin/Vendors/DisplayBanners.ascx'
           ,NULL
           ,0
           ,NULL
           ,NULL)

INSERT INTO [dbo].[ModuleControls]
           ([ModuleDefID]
           ,[ControlKey]
           ,[ControlTitle]
           ,[ControlSrc]
           ,[IconFile]
           ,[ControlType]
           ,[ViewOrder]
           ,[HelpUrl])
     VALUES
           (
           ,'Edit'
           ,'Edit Banners'
           ,'Admin/Vendors/BannerOptions.ascx'
           ,NULL
           ,1
           ,NULL
           ,NULL)



thank u so much for the response but when it comes to that SQL code, I don't know where to begin... please forgive my ignorance on this one.

where can i find the Host SQL window????

thank u again
 
New Post
3/5/2007 9:35 PM
 
What was provided to you is a SQL statement.  All SQL statements (whether selects, inserts, etc) all have to be done through some type of DB access provider.  Normally select statements (queries) are abstracted by some type of software front end (like DNN, MSAccess, etc).  If someone provides you a statement like the above, the easiest way to execute it on your database is through the use of something like SQL Enterprise Manager or iSQL.  Upon successfully connecting with your database with one of these tools, you'll be able to copy/paste the above code and click Execute/Run.  I would definitely recommend that you have a backup of your database before doing this (especially since it seems that you don't know your way around the SQL admin tools).  If you're on a hosted DNN instance, you'll need access to SQL Enterprise Manager or a similar tool provided by your hosting provider.  Otherwise you could send the statement to them and see if they'd run it for you.

Shawn
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Banner ModuleBanner Module


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out