Register  Login  
  May 18, 2012  
Search_Blog Minimize
Print  

Blog_Archive Minimize
Print  

Blog    
View_Blog Minimize
Jun 6

Written by: host
Saturday, June 06, 2009 8:14 PM 

Even wonder where all the settings for a module is kept ... in the ModuleSettings table - duh!   Ok ... maybe it's not that obvious to some.  But the ModuleSettings table holds the keys to the kingdom for certain modules.  In fact, often the module export is just a copy of the items in the Modulesetting table for the specific module.

The table layout is straight forward ... ModuleID, SettingName, SettingValue.  So if the moduleID is 400 then to view all settings for moduleID 400, execute the following select

Select * from ModuleSettings where ModuleID = 400 order by SettingName

This Select will return all the specifics settings for Module 400.  Note: not all

ModuleID  SettingName          SettingValue
--------- -------------------- --------------------------------------
400       EventAfterMessage    !!!
400       EventBeforeMessage   until Vancouver Olympics
400       EventDisplay         14
400       EventDuringMessage   Go Canada Go
400       EventProcess         1030
400       EventStartDate       2010-Feb-12 04:00:00
400       EventStopDate        2010-Mar-01 04:00:00
400       EventSuffix         
400       EventTitle           Vancouver Winter Olympics

As you can see the results contain obvious value related to the my T-Minus Module.

So what modules do place their settings in the ModuleSettings table?  Use the following to find out. 

Select M.ModuleID, MD.FriendlyName 
    from dbo.ModuleDefinitions MD
     join dbo.Modules M on M.ModuleDefID = MD.ModuleDefID
where
    M.ModuleID in (Select distinct ModuleID from ModuleSettings)
order by
    M.ModuleID


This select will display all the modules located in the ModuleSettings Table and their associated "friendly name".  You can now determine what is stored away in your ModuleSettings table.

I don't recommend playing with the values unless you absolutely need too.  You can cause alot of damage very quickly.  So Look, but don't touch!

Paul.

Tags:

1 comment(s) so far...

Coach Factory Outlet

Some bags sold at Coach Factory Outlet will have small defects. These defects are made during the process of Coach Outlet Online. But these defects are very small. No body will notice Coach Outlet. In case you buy some bags which you will not like in the future, it is better for you to check the quality before you make the payment.Of course, if you think fake Coach Factory are much cheaper and you can accept them. You can buy some of them on Internet. There are plenty of these Coach Factory Outlet there
Ladies are creatures of Coach Factory Store. They are born to love designer bags. Sometimes they can not Coach Outlet. They can not stop buying their Coach Factory there are very little money in their wallets. They know they should not do that. But a Coach Outlet Store Online will definately show her personality and Coach Outlet Online. Just like people will love Coach Outlet Store, women can not say no to Coach Outlet Online.

By michaelkors on   Tuesday, May 15, 2012 4:29 AM

Blog_List Maximize
Print  

  Home | Blog | Forum | Subscriptions | Free Modules | Videos   Page generated in 0.156638 seconds.
  Copyright 2010 by TressleWorks   Terms Of Use | Privacy Statement