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, ...ContentPane and other panes never render...ContentPane and other panes never render...
Previous
 
Next
New Post
3/2/2007 12:06 AM
 
Using the skinning document I've created my own skin.  I've added dnn controls and content panes.  The content panes never render their content.  I was just building the basic box layout for the skin to appear.  You can view it live here.

http://dnn.pixel-eight.com/

You can see the dnn controls but nothing appears in any of the areas as I believe they should.  What is missing?  Here is the contents of the User Control I used to develop the skin.

<%@ Control Language="C#" AutoEventWireup="true" CodeFile="skin.ascx.cs" Inherits="Skins_P8_skins_skin" %>
<%@ Register TagPrefix="dnn" TagName="MENU" Src="~/Admin/Skins/SolPartMenu.ascx" %>
<%@ Register TagPrefix="dnn" TagName="LOGIN" Src="~/Admin/Skins/Login.ascx" %>
<div>
    <div id="ControlPanel" runat="server"></div>
    <div class="Header PageMargins Centered">Logo</div>
    <div class="LeftContent SideContent" id="LeftPane" runat="server">
        Left content
    </div>
    <div class="RightContent SideContent" id="RightPane" runat="server">
        Right Content
        <dnn:LOGIN runat="server" id="dnnLOGIN" />
        <dnn:MENU runat="server" id="dnnMENU" />
    </div>
    <div class="MainContent CenterContentMargins" id="ContentPane" runat="server">
        Main Content
    </div>
    <div class="Footer CenterContentMargins Centered" id="BottomPane" runat="server">Footer</div>
</div>
 
New Post
3/2/2007 1:20 PM
 
It doesn't appear to comply with the skinning document to me.
This code inherits from it's own code-behind (in C# as well) instead of skin.vb
The logo skin object isn't registered or placed on the page
All three panes have static text embedded
 
New Post
3/3/2007 12:37 AM
 
I see now.  I missed the part about inheriting from skin.vb.  I didn't include the logo control because it doesn't appear that it needs to (from what I can see).  I also wondered about the static text.  I was using it prior to deploying the skin so that I could see how thing lined up.  I'll update the skin with your suggestions and see how it turns out.  Thank you for your reply.
 
New Post
3/4/2007 12:18 PM
 
Inheriting from skin.vb fixed it.  Static text is fine in this instance.  Now I just have to figure out what style is making IE render my content pane so wide. 

After having completed my first "Hello, world!" skin I must say it was amazingly simple.  I prefer to make a table-free layout and this gives me that flexibility.  I'm sure there's other examples out there but what's the fun in using someone else's wheel when you can make your own?
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...ContentPane and other panes never render...ContentPane and other panes never render...


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