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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...modules appearing on new pages.modules appearing on new pages.
Previous
 
Next
New Post
9/15/2011 5:25 PM
 
I made a lot of major changes to the site on a local version. I was unable to overwrite the live site as many people update it on a daily basis and could not lose those changes. So i exported the pages with content and imported them into the new site. Now everytime i create a new page it has about 50 modules on it. It is only 2 modules but about 25 instances of each.

My problem is i cant just uncheck the box to display on all pages as it will remove them from pages. These modules were setup on certain pages, each with different configurations. So it would take every bit of a day just redoing the modules.

Is there a way that i can fix this in the DB without removing from pages currently on? Maybe a sql script that will remove all modules from "new" pages. I am assuming that is a setting somewhere to tell dnn to include module on new pages.  I would prefer to not have any module on the page when i create one. I could really use some help figuring this out without removing the instances already being used.
 
New Post
9/18/2011 1:54 AM
 
Sure.

All modules are referenced in table "Modules" . You can specify here whether you want the module on all pages or not. I believe the field name is "AllTabs" which is a bit (boolean)

Each instance of a module on a given page (tab) is referenced in table "TabModules"

Mandeep Singh
CEO - Mandeeps.com | Developing DotNetNuke Modules Since 2004
DNN Monitor | DotNetNuke Keep Alive Service
 
New Post
9/18/2011 12:30 PM
 
So if i write and execute a query to search for all of these and change that setting to false, it should correct the problem and not remove the existing modules from pages?
 
New Post
9/23/2011 1:01 PM
 
Am i correct in this assumption? Would a script that changes that column for every module in the table fix the issue without removing the ones that are already on the pages?
 
New Post
9/24/2011 3:24 AM
 
it depends whether there is a module reference in TabModules table for all the modules or just a single tab module with "show on all pages" flag. I haven't dug into the implementation yet, you might need some experiments to produce expected behaviour. Be aware, you need to restart the app after to make changed made directly in the database become effective.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...modules appearing on new pages.modules appearing on new pages.


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