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

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesAdd the same module in two different layoutsAdd the same module in two different layouts
Previous
 
Next
New Post
3/21/2014 3:48 PM
 

I'm working on a model where I want the main content of the module to work in LeftPane on the same page. I also want a Summary text in sidebarPane.

Is that possible without creating two different modules?

 
New Post
3/21/2014 5:25 PM
 
Sort of. You could do it with one module containing two different controls.

BUT - in practise it's much the same as two different modules. It's the developer's problem to manage communication between them. In principle it's easy - have them share the same DB table rows. Ooh ooh ooh but wait. What if I want to use the module again on another page? Will the two pages interfere with each other? Yes. Unless the developer writes the code carefully enough to make it work the way s/he wants.

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
3/22/2014 2:08 PM
 
Thanks Richard. I'm just wondering how do you specify which control to load for the module?

The only thing way I can think of is to add a setting for the module and pull the control from the settings. Is there an easier way?
 
New Post
3/22/2014 7:05 PM
 
you can also use the built in "copy module" functionality - http://www.dnnsoftware.com/help#Docum... module . I've used this before in modules where I stored layout options as a tabmodulesetting e.g. I had a module where I had a setting for "list" and one for "detailed", I added a module to a page and added a bunch of data to it (a list of links with related content), and then copied the module to the same page but set it to "list" so I ended up with a list of links in the left that when I clicked show content in the middle pane.

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesAdd the same module in two different layoutsAdd the same module in two different layouts


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.

Content Layout

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out