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, ...Completely blank skinCompletely blank skin
Previous
 
Next
New Post
4/13/2013 6:43 PM
 
All,

I need a completely blank skin. Just a contentpane and nothing else. Not even the admin/host menu atop the page.

I tried to create one but the top horizontal admin/host menu appears.

This is the only line of code I have in it other than a contentpane:

< % @ Control language = " vb " AutoEventWireup = " false " Explicit = " True " Inherits = " DotNetNuke.UI.Skins.Skin " % >

Am I missing something?

Thanks,
Mark
 
New Post
4/13/2013 7:53 PM
 

Hello,

Since they switched to the new command bar, it's not possible to hide it using a skin. I submitted a request to hide it to gemini, but it hasn't gotten implemented - in fact, they said that there didn't seem to be much interest in it - so maybe you could give it some support. Still, I'm not sure my request will 100% cover what you're going for. (http://support.dotnetnuke.com/project...)

If it helps though, one solution is to put it in print mode... to do that, just add a querystring parameter that says dnnprintmode=true. If you do that, then the command bar doesn't show. For the case I needed it, I could easily pass that parameter, but that might not cover your need.

Hope this helps,

Mike

 
New Post
4/14/2013 1:12 AM
 

Hi Mark and Mike,

There is a trick you can use to hide the control panel on DNN7:

1 - Create another .CSS file under your skin folder. Lets call it "hide-control-panel.css";

2 - Add the following to it:

#ControlBar_ControlPanel { 
display:none
}

#Form.showControlBar {
margin-top: 0px !important;
}


3 - On your skin file add the following line to the top:

<%@ Register TagPrefix="dnn" Namespace="DotNetNuke.Web.Client.ClientResourceManagement" Assembly="DotNetNuke.Web.Client" %>
<dnn:DnnCssInclude ID="DnnCssInclude1" runat="server" FilePath="hide-control-panel.css" PathNameAlias="SkinPath" Priority="1000"/>


This will hide the control panel. I have tried it myself.

Note: Not sure whether the forum editor here will display the code correctly or not, but let's see.

Cheers,

 


Aderson Oliveira
Your DNN Wingman
DeskPal.com
 
New Post
4/14/2013 12:05 PM
 
Mike,

I'd love to and will check it out shortly.

Aderson,

Thanks, I'll give that a shot and let you know how it goes.

Mark
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Completely blank skinCompletely blank skin


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

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