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...Skins, Themes, ...Skins, Themes, ...5.04.02 Control Panel Layout5.04.02 Control Panel Layout
Previous
 
Next
New Post
6/7/2010 3:58 PM
 
I installed DNN version 5.04.02 today.  After I parsed and applied my skin the Control Panel started acting wierd.

My skin sets the width of the pages to 1000px.  As long as the Control Panel is minimized, it sits within the pages fine.  But when I extend it so that I can added pages and modules, it's width increases way beyond the 1000px.  It's width is way beyond the size of my browser.  I have to use the horizontal scroll bars to see it all.

Here are some portions of my skin and style sheet:

ctaSkin.htm:

<div id="PageWrapper">
    <div class="ControlPanelSection" id="ControlPanel" runat="server"></div>


ctaSkin.css

#PageWrapper
{
    width: 1000px;
    height: 100%;
    background-color: #f3f3f3;
    border-style: solid;
    border-width: 1px;
    border-color: Black;
}

.ControlPanelSection
{
    width: 960;
    height: 1px;
    margin: 0 auto;
    background-color: transparent;
    display: inline;
}

How is the layout of the Control Panel managed?  Have I unknowingly messed it up?  How would I fix it so that it's width stays within the boundaries I have set for my pages?

Thanks for your help.



 
New Post
6/7/2010 4:23 PM
 
One thing you might simply try is to move the control panel outside of the Pagewrapper class, there isn't any need for actually placing the control panel into a specific DIV, if you create a skin without a div with ID=controlpanel DNN will insert it at the top of the page, above everything else. 

That's my preferred method for skinning the control panel.

Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
6/7/2010 5:08 PM
 
Thanks for your idea Chris.  I gave it a try, but no luck.

I moved the control panel outside the PageWrapper class and saw no difference at all.

Then I tried removing the ControlPanelSection class (still outside the PageWrapper class).  With this change, the minimized width of the control panel took up the whole browser.  This makes sense, since it is the ControlPanelSection class that was limiting it's width.  However, the real problem still remains.  That is, when I maximize the control panel, the width increases way outside the browser's width and I have to use the horizontal scroll bars to see it.  I could live with the control panel taking up the whole browser width, if when maximized, it would remain that width.

-gps57
 
New Post
6/7/2010 7:39 PM
 

Glen,

Try using a plain div for the control panel with no settings, or don't include a control panel div at all (as cChris says it does get included for you automatically). Then use Firebug (www.getfirebug.com) to select the control panel elements and see if there's some CSS effecting it in your skin code.

Regards,

Rick.



PSDtoDNN - You supply the artwork... we'll build the skins!™
Website | Twitter | YouTube | Skype
 
New Post
6/8/2010 4:42 PM
 
Thanks Chris.

I've tried both.  That is a plain div for the control panel, and no control panel entry in the skin at all.  Still no luck.  Something, somewhere in my skin is causing trouble.  I think I can say that because the problem started only after I applied my skin.

I have downloaded and installed firebug.  It's a nice tool.  It helps me understand better how the css classes get applied.  I have been able to see the control panel classes that are at play on my site, but have not figured out what my problem is yet.  I suspect I'll get closer to a solution using this tool after I understand it better.

I'll keep everyone posted through this thread with regard to what I discover, and will post the solution if I find it.  In the meantime, if anyone else figures it out, or knows what my problem is, please jump in and share the knowledge.  If I can help with any more information about my set up, just ask.

Thanks.

-gps57
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...5.04.02 Control Panel Layout5.04.02 Control Panel Layout


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