Products

Solutions

Resources

Partners

Community

About

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...Skins, Themes, ...Skins, Themes, ...Hide modules in a non-existing pane?Hide modules in a non-existing pane?
Previous
 
Next
New Post
9/5/2013 12:35 PM
 

I have created 2 skins: one with a single column, one with 2 columns (a contentPane and a 'toolbar')

On some of my pages I want 2 columns, on other I want one. I think switching skins is the approach for that (correct me if I'm wrong). Most modules I place in the toolbar I want on all pages with the toolbar, so I set them to "include on all pages". Unfortunately on pages without the toolbar skin object, DNN just puts the toolbar's modules in the main pane and I've to remove them one by one (and again on every new page).

Is there a way to ignore the modules on pages without the toolbar pane?
    <div id='ToolbarPane' visible='false' runat='server' />
didn't work, the modules are still placed in the contentPane.
Hiding the modules clientside is not what I'm looking for.

 

 
New Post
9/5/2013 5:13 PM
 
no, modules placed on a page will always be shown, disregarding the existence of the pane, they are placed in (if not avail, they will be displayed in ContentPane). the sole option you have is a page at -1000px (off screen) to hold the module - however, it should not expect an input or might block other modules on the page.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
9/6/2013 3:47 AM
 
Any other ideas on how to approach my problem? It's useless to have the event planner calendar on all my admin pages. It wastes valuable space. but there are quite a few admin pages, so both removing them from every admin page, or adding them to every user page is al lot of work.
 
New Post
9/6/2013 3:52 AM
 
If you don't mind the weight of the page, you can simply include the toolbar pane at the bottom of the page and set it to display:none.
I know it is dirty...

Peter Schotman
Cestus Websites voor DotNetNuke oplossingen in Nederland
Contact us for your custom design and skinning work.
 
New Post
9/6/2013 4:26 AM
 
I'm unconvinced of the merits of show on all pages.

If you want something on every page that uses a specific skin; then what you want needs to be a part of the skin. Can you make it a skin object, not a module?

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Hide modules in a non-existing pane?Hide modules in a non-existing pane?


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