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...Using Modules a...Using Modules a...Anything but default view, prevents all other modules from displayingAnything but default view, prevents all other modules from displaying
Previous
 
Next
New Post
11/23/2010 9:11 AM
 
Hi I'm a fairly new to DNN development, only working on the platform since september. I have come across a problem, which no doubt has come up before but I'm not having much luck searching for a solution. So apologies if this has already been answered elsewhere.

Is it possible to display multiple modules on a page in anything but the default view?

We have developed several modules that utilise multiple view/edit screens and wish them to be used on pages with other modules.

For example if I had a page containing a "Friends Update" module that shows how many friends are online at the moment and an email module. If the email module has several controls say: "view inbox" and "view email" with the inbox being the default view, and the "view email" is a different module control. When I navigate to the "View Email" control, the "Friends Update" doesn't render. Is there any way around this?

If there is no way around this, how do people normally achieve this kind of functionality?

Thanks for reading,
Hope somebody can help!!
 

Is this impossible? 
 
New Post
11/23/2010 10:56 AM
 
The core framework doesn't currently support this requirement directly, so people have gotten used for rolling their own solution.  You can look at both the forums and blogs as examples of this type of functionality.  I am working on a blog post which should also help describe how to solve this and I hope to have that posted later today.

Joe Brinkman
DNN Corp.
 
New Post
11/24/2010 7:14 AM
 
Thanks for the info Joe. Creating my own solution isn't a problem and I can see several ways of getting around this issue, but I was wondering if there is any standard mechanism that people use to solve this issue as, I'm sure that it must crop up quite frequently. I'll have a look at the forum and blog code later to see how it's solved there. Thanks again.
 
New Post
11/24/2010 8:54 AM
 
for larger modules we prefer loading a main "dispatcher" control, which loads appropriate child controls according to the situation (usually according to QS parameters).

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/25/2010 10:00 AM
 
Thanks Sebastian,

We had actually just decided to take a similar route when I read you reply. Good to know that this is how others get around the problem. 
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Anything but default view, prevents all other modules from displayingAnything but default view, prevents all other modules from displaying


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