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...Scalability for common modulesScalability for common modules
Previous
 
Next
New Post
4/23/2008 3:45 PM
 

I know people have used DNN for large scale web sites, so someone out there must know a strategy to deal with this concern ...

The site my company is developing will be quite large, with many pages.  There will be a standard design structure dictating what will appear in the right pane of every page. For simplicity's sake, let's say the same Announcements module will appear on every page.

To accomplish this, obviously we must create one initial page, drop the module into it, and then copy that page and its module instance for every other page of the site.

But in the future we may choose to alter the standard structure regarding the right pane.  For example, what if we choose to also add a FAQ module to the right pane of every page?  It would seem that to do this, we must drop the new module onto one page and then manually copy it over EVERY SINGLE page on the site. Not such a problem for 12 pages, but a little more troublesome for 200.

I know about templates, but in my understanding they only affect a page's initial disposition.  Changing a template would not retroactively change the pages that have already been made from it.

It also seems that custom skin objects approach what we're looking for.  However, we want these common elements to have true module functionality - able to be edited in the typical way by certain users like any module. I do not see that it is possible to marry this functionality with the concept of skin objects.

Like I said, there must be someone out there who has dealt with this. So put me on the right track; what technique do we need to be looking into?

 
New Post
4/23/2008 4:02 PM
 

Under Module settings there is an option to "Display on all pages".  This may not be exactly what you need, but you could probably modify the concept/and or make database entries to make the same module appear on the pages you want.

Also check out the Shadow Content module from Inventua

Now if you want each of those modules to be their own unique instance with their own content then you could add modules to pages using SQL:

Need to Insert new Tabs, Permissions, and Modules into a DotNetNuke DB using only T-SQL?


DotNetNuke Modules from Snapsis.com
 
New Post
4/23/2008 4:38 PM
 

It would be great if we could use "Display on all pages," but unfortunately matters are a tad more complicated.  I simplified the problem for the sake of presenting it clearly, but in actuality each page on our site will belong to one of many sections.  So things are made difficult by the fact that we may want the same type of module (i.e., FAQ) on all pages, but all pages in one section would contain the same module instance, all pages in another section would contain a different instance, etc.

The Shadow Content module seems to me to behave much in the same way as simply copying a particular module instance from one page to another, just without the ability to edit it from any page.  At any rate, it doesn't seem to solve the problem of needing to add a module to many existing pages at once.

As for the last suggestion, I will have to examine it more closely.  But am I understanding correctly that this would just be using down-and-dirty SQL to directly update the database records, rather than use the DNN interface?  I'd consider this as an option, but isn't it somewhat ill-advised to directly alter the SQL data this way?  I'd appreciate a few opinions on whether this is a common way to implement changes in your DNN sites.

Now that I've brought up the concept of multiple "sections," each with their own common content, surely I'm right in thinking it would be a pipe dream to add one module type, but different module instances for each section, to all pages of the site with one broad stroke?  For example, if I want to add a FAQ module to the right pane of all pages, but one shared instance for the Products section, one shared instance for the Forums section, etc . . . I'm assuming I'm stuck with, at the very least, manually adding the module to at least one page in each section?  (I suppose, if I am in fact cracking open the datasource itself, I might be able to affect a stored procedure . . .)

The main point is:  for all this I'm looking at working outside the bounds of the DNN admin interface?

 

 
New Post
4/23/2008 5:44 PM
 

Correct, it sounds like you will not be able to use any of the built-in admin interfaces to do what you want.

From the sounds of it you want to 'Push' the module out to different sections of your site and you want the ability to do that on several pages at the same time.

The SQL method will work for that, but you should make sure you know what you are doing. 
It's always hard to determine if we are talking to normal users, or developer types in these forums.
It used to be that most everyone using the system was a developer, but that was a while ago so I apologize if I made the wrong assumption from your original post.

It also kind of sounds like you are describing some kind of Feed where the different sections can 'Pull' module content from one main source, but that will also require you to have some kind of module on the different sections that are setup to read from the main content.

 


DotNetNuke Modules from Snapsis.com
 
New Post
4/23/2008 6:14 PM
 

I am a developer and definitely capable of using direct SQL access as described.  I just wasn't aware that was a common or encouraged approach, considering that DNN "sets itself up" and is administered through the interface.  I'm just hoping to probe a few people's opinions on whether this is/should be done routinely.

I do want modules on multiple pages to pull their content from the same source, but I'm talking only about the functionality that is accomplished by using "copy from existing page" when adding a module to a page.

 

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Scalability for common modulesScalability for common modules


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