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, ...Skin not working properly -- help!Skin not working properly -- help!
Previous
 
Next
New Post
7/6/2007 2:00 PM
 

This skin shows all the objects properly EXCEPT for the content. When I preview the skin, it shows the skin, but no content, what am I doing wrong??

File code source:

---------------------------------------------------------------------------------------------------------------------------------------------------------------

<%

 

@ Control Language="C#" AutoEventWireup="true" CodeFile="NFRSkin.ascx.cs" Inherits="Portals_1_Skins_MainSkin_MainSkin"

%>

<%

 

@ Register TagPrefix="dnn" TagName="LOGO" Src="~/Admin/Skins/Logo.ascx"

%>

<%

 

@ Register TagPrefix="dnn" TagName="BANNER" Src="~/Admin/Skins/Banner.ascx"

%>

<%

 

@ Register TagPrefix="dnn" TagName="NAV" Src="~/Admin/Skins/Nav.ascx"

%>

<%

 

@ Register TagPrefix="dnn" TagName="SEARCH" Src="~/Admin/Skins/Search.ascx"

%>

<%

 

@ Register TagPrefix="dnn" TagName="LANGUAGE" Src="~/Admin/Skins/Language.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"

%>

<

 

TABLE class="pagemaster" border="0" cellspacing="0" cellpadding

="0">

<

 

TR

>

<

 

TD valign

="top">

<

 

TABLE class="skinmaster" width="770" border="0" align="center" cellspacing="0" cellpadding

="0">

<

 

TR

>

TESTER!!!!!!!!!

<

 

TD id="ControlPanel" runat="server" class="contentpane" valign="top" align="center"></TD

>

</

 

TR

>

<

 

TR

>

<

 

TD valign

="top">

<

 

TABLE class="skinheader" cellSpacing="0" cellPadding="3" width="100%" border

="0">

 

 

<TR

>

 

 

<TD vAlign="middle" align="left"><dnn:LOGO runat="server" id="dnnLOGO" /></TD

>

 

 

<TD vAlign="middle" align="right"><dnn:BANNER runat="server" id="dnnBANNER" /></TD

>

 

 

</TR

>

</

 

TABLE

>

<

 

TABLE class="skingradient" cellSpacing="0" cellPadding="3" width="100%" border

="0">

 

 

<TR

>

 

 

<TD width="100%" vAlign="middle" align="left" nowrap><dnn:NAV runat="server" id="dnnNAV" ProviderName="DNNMenuNavigationProvider" CSSControl="main_dnnmenu_bar" CSSContainerRoot="main_dnnmenu_container" CSSNode="main_dnnmenu_item" CSSNodeRoot="main_dnnmenu_rootitem" CSSIcon="main_dnnmenu_icon" CSSContainerSub="main_dnnmenu_submenu" CSSBreak="main_dnnmenu_break" CSSNodeHover="main_dnnmenu_itemhover" NodeLeftHTMLBreadCrumbRoot="<img alt=&quot;*&quot; BORDER=&quot;0&quot; src=&quot;breadcrumb.gif&quot;/>" /></TD

>

 

 

<TD class="skingradient" vAlign="middle" align="right" nowrap><dnn:SEARCH runat="server" id="dnnSEARCH" showWeb="True" showSite="True" /><dnn:LANGUAGE runat="server" id="dnnLANGUAGE" /></TD

>

 

 

</TR

>

</

 

TABLE

>

<

 

TABLE cellSpacing="0" cellPadding="3" width="100%" border

="0">

 

 

<TR

>

 

 

<TD width="200" vAlign="top" align="left" nowrap><dnn:CURRENTDATE runat="server" id="dnnCURRENTDATE" /></TD

>

 

 

<TD width="100%" vAlign="top" align="center"><B>..::</B>&nbsp;<dnn:BREADCRUMB runat="server" id="dnnBREADCRUMB" Separator="&nbsp;&raquo;&nbsp;" RootLevel="0" /><B>::..</B></TD

>

 

 

<TD width="200" vAlign="top" align="right" nowrap><dnn:USER runat="server" id="dnnUSER" />&nbsp;&nbsp;<dnn:LOGIN runat="server" id="dnnLOGIN" /></TD

>

 

 

</TR

>

</

 

TABLE

>

</

 

TD

>

</

 

TR

>

<

 

TR

>

<

 

TD valign="top" height

="100%">

<

 

TABLE cellspacing="3" cellpadding="3" width="100%" border

="0">

 

 

<TR

>

 

 

<TD class="toppane" colspan="3" id="TopPane" runat="server" valign="top" align="center"></TD

>

 

 

</TR

>

 

 

<TR valign

="top">

 

 

<TD class="leftpane" id="LeftPane" runat="server" valign="top" align="center"></TD

>

 

 

<TD class="contentpane" id="ContentPane" runat="server" valign="top" align="center"></TD

>

 

 

<TD class="rightpane" id="RightPane" runat="server" valign="top" align="center"></TD

>

 

 

</TR

>

 

 

<TR

>

 

 

<TD class="bottompane" colspan="3" id="BottomPane" runat="server" valign="top" align="center"></TD

>

 

 

</TR

>

 

 

<TR valign

="top">

 

 

<TD valign="top" align="center"><img src="spacer.gif" height="1" width="150"></TD

>

 

 

<TD valign="top" align="center"></TD

>

 

 

<TD valign="top" align="center"><img src="spacer.gif" height="1" width="150"></TD

>

 

 

</TR

>

</

 

TABLE

>

</

 

TD

>

</

 

TR

>

<

 

TR

>

<

 

TD valign

="top">

<

 

TABLE class="skingradient" cellSpacing="0" cellPadding="0" width="100%" border

="0">

 

 

<TR

>

 

 

<TD valign="middle" align="center"><dnn:COPYRIGHT runat="server" id="dnnCOPYRIGHT" />&nbsp;&nbsp;<dnn:TERMS runat="server" id="dnnTERMS" />&nbsp;&nbsp;<dnn:PRIVACY runat="server" id="dnnPRIVACY" /></TD

>

 

 

</TR

>

</

 

TABLE

>

</

 

TD

>

</

 

TR

>

<

 

TR

>

<

 

TD valign="top" align="center"><dnn:DOTNETNUKE runat="server" id="dnnDOTNETNUKE" /></TD

>

</

 

TR

>

</

 

TABLE

>

</

 

TD

>

</

 

TR

>

</

 

TABLE

>

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

---------------------------------------------------------------------------------------------------------------------------

 
New Post
7/7/2007 5:12 PM
 

DudeBori82 wrote

This skin shows all the objects properly EXCEPT for the content. When I preview the skin, it shows the skin, but no content, what am I doing wrong??

Your using C#... , just kidding

What version of DNN are you using? Could the problem be the Design button in the control panel? (Read this blog)

Guess not, but you never know...

What kind of code do you have in your code behind? Could this be the cause?

 
New Post
7/9/2007 11:58 AM
 

I don't understand why using the one and only true programming language would make it not function correctly :P

I figured it out, my page inheritance and namespace needed to be corrected, here's the correct text:

 

 @ Control language="vb" CodeBehind="~/admin/Skins/skin.vb" AutoEventWireup="false" Explicit="True" Inherits="DotNetNuke.UI.Skins.Skin"               

Since the skin is just a display template, it doesn't matter what coding language it is because it doesn't even get used. If you want to have something dynamic happen in your custom skin, you can create your own "skin object" by just copying the inheritance (even in C#), etc of the default ones. (Ex: Copy, rename and customize the Login Skin Object). But that was my problem (other than not wanting to do it with html and a skin.xml file).

Issue: Resolved       

 

<%

 
New Post
7/9/2007 2:05 PM
 

DudeBori82 wrote

I don't understand why using the one and only true programming language would make it not function correctly :P

Right, assembler, that's hardcore DNN....

Glad you solved the problem.

Cheers!

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Skin not working properly -- help!Skin not working properly -- help!


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