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, ...Custom Skins.. I donCustom Skins.. I don't get it..
Previous
 
Next
New Post
11/6/2006 4:44 AM
 
Hi

I'm trying to Install a custom Skin on my DotNetNuke that I made myself. My problem is that I don't really know DotNetNuke good yet.

I have a simple Design that I already coded in HTML / CSS. I read a manual about skinning and I now know that DNN Skins are built up out of Containers and Skins.

Now I tried to make a Skin using the Standard "blue - fixed width" Skin from the Portal as a reference. My skin kind of works already - at least when I upload it my skin is activated. But the modules don't work with it:

Unhandled error loading module.
DotNetNuke.Services.Exceptions.ModuleLoadException: Cannot locate ContentPane for Skin

My Container is a simple <div>..

To make a long story short - here's my skin:

<%@ Control language="vb" CodeBehind="~/admin/Skins/skin.vb" AutoEventWireup="false" Explicit="True" Inherits="DotNetNuke.UI.Skins.Skin" %>
<%@ Register TagPrefix="dnn" TagName="LOGO" src="~/Admin/Skins/Logo.ascx" %>
<%@ Register TagPrefix="dnn" TagName="BANNER" src="~/Admin/Skins/Banner.ascx" %>
<%@ Register TagPrefix="dnn" TagName="MENU" src="~/Admin/Skins/SolPartMenu.ascx" %>
<%@ Register TagPrefix="dnn" TagName="SEARCH" src="~/Admin/Skins/Search.ascx" %>
<%@ Register TagPrefix="dnn" TagName="CURRENTDATE" src="~/Admin/Skins/CurrentDate.ascx" %>
<%@ Register TagPrefix="dnn" TagName="BREADCRUMB" src="~/Admin/Skins/BreadCrumb.ascx" %>
<%@ Register TagPrefix="dnn" TagName="USER" src="~/Admin/Skins/User.ascx" %>
<%@ Register TagPrefix="dnn" TagName="LOGIN" src="~/Admin/Skins/Login.ascx" %>
<%@ Register TagPrefix="dnn" TagName="COPYRIGHT" src="~/Admin/Skins/Copyright.ascx" %>
<%@ Register TagPrefix="dnn" TagName="TERMS" src="~/Admin/Skins/Terms.ascx" %>
<%@ Register TagPrefix="dnn" TagName="PRIVACY" src="~/Admin/Skins/Privacy.ascx" %>
<%@ Register TagPrefix="dnn" TagName="DOTNETNUKE" src="~/Admin/Skins/DotNetNuke.ascx" %>
<%@ Register TagPrefix="dnn" TagName="LANGUAGE" src="~/Admin/Skins/Language.ascx" %>
<div id="layout">
  <div id="header">
    <span id="logo">&nbsp;</span>
  </div>
  <div id="navi">
    <dnn:MENU runat="server" id="dnnMENU" />
  </div>
  <div id="column">
    <span id="logo_side">&nbsp;</span>
  </div>
  <div class="content" id="ContentPane">asdfs</div>
  <div id="footer">login</div>
</div>

Then there's a skin.css with the styles.
How do I have to make the Container? Is there Something wrong with my skin that the modules don't work?

Does someone have a simple tutorial how to make a complete skin for a css based layout? That would be great. I've already searched for a few but I only found one that was to basic, and one that was too detailed.

Thanks - phore

 
New Post
11/6/2006 8:32 PM
 
You have not defined a content pane in your skin

Change this:

 <div class="content" id="ContentPane">
to this:
 <div class="content" id="ContentPane" runat="server">
 
New Post
11/13/2006 3:01 AM
 
hi again.

thanks for your reply, my skin works now.

where can I change the dnn styles like text color, links etc. ?
do you guys have some kind of guide sheet where I can see what style changes what?

thanks.
 
New Post
11/13/2006 7:23 AM
 

The /portals/default/default.css stylesheet is commented so that you can see what each class controls.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Custom Skins.. I donCustom Skins.. I don't get it..


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