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, ...Page with no header?Page with no header?
Previous
 
Next
New Post
6/11/2007 12:42 PM
 

I'm trying to create a page that does not have the header and footer, just the content pane.. or even just a blank page with html. Is this possible? Do I have to install a "no header template"? Does anyone have one of those?

I'm using DNN 4.5.3 and both free and purchased skins (which are both CSS and template driven).

Thanks,
Tom

Tom Wood
CEO/Founder
MasteryTV

 
New Post
6/11/2007 6:56 PM
 

your skin only needs to have a single element inside the body: the content pane. same for the container.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
6/11/2007 7:03 PM
 

<div id="ContentPane" runat="server" />

This is the simplest skin file possible :)

JK


You know your website is cool, so why not let your users help you by spreading the word on social networking sites - get the DotNetNuke Social Bookmarks Module with 57 different ways to add social bookmarks to your site ... or download the FREE demo right now
 
New Post
6/11/2007 7:24 PM
 

So would I create a blank.ascx file with that code in it and then zip it up and upload? Is that all there is to it?

 
New Post
6/11/2007 8:17 PM
 

Yes, just put it into a file "YourSkinName.ascx", and use FTP to upload it to your server (or windows explorer to copy it to your local DNN).  You dont need to zip it.  Note that this very simple skin will still have a control panel when logged in as admin, since DNN auto adds it if it is not in the skin.

You can either put it in:
/Portals/_default/Skins/YourSkinNameHere/YourSkinName.ascx, or
/Portals/0/Skins/YourSkinNameHere/YourSkinName.ascx (change "0" to your actual portal id)

If you put it in _default, then to use it, on the site settings page choose "Skins - Host", otherwise choose "Skins - Site", and it will be in the drop down list for you to select.

If the skin is too boring you can start to improve it with some CSS, in which case you need to create a seperate skin.css file and upload it to the same directory as above.  Then add the class name to your skin...

<div class="main_content" id="ContentPane" runat="server"/>

The skin.css file would then contain:
.main_content { font-family: comic; font-size:12pt; }  (or whatever styling you care for)

JK.


You know your website is cool, so why not let your users help you by spreading the word on social networking sites - get the DotNetNuke Social Bookmarks Module with 57 different ways to add social bookmarks to your site ... or download the FREE demo right now
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Page with no header?Page with no header?


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