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 Parses, but errorsSkin Parses, but errors
Previous
 
Next
New Post
6/14/2006 9:57 PM
 
My skin parses fine, but when I go to preview the skin i get a red message across the top.

Could Not Load Skin: /Portals/0/\skins\salontest\salontest.ascx Error: c:\hosting\webhost4life\member\ech01\Portals\0\skins\salontest\salontest.ascx

Could Not Load Skin: /Portals/0/\skins\salontest\salontest.ascx Error: c:\hosting\webhost4life\member\ech01\Portals\0\skins\salontest\salontest.ascx
Weird. It shows twice. Any thoughts as to why this would happen? Here is my html.

<html>
<head>
<title>salon layout</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link href="skin.css" rel="stylesheet" type="text/css" />
</head>
<body bgcolor="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<div align="center">
<table cellspacing="0" cellpadding="0" border="0" width="98%">
    <tr>
        <td valign="top" align="left" width="232">
            <img src="images/logo.gif">
        </td>
        <td valign="top" width="226" align="right">
            <img src="images/slice01.gif">
        </td>
        <td valign="top" width="184" align="center">
            <img src="images/slice02.gif">
        </td>
        <td valign="top" align="left">
            <img src="images/slice03.gif">
        </td>
    </tr>
</table>
<table width="98%" cellpadding="0" cellspacing="0" class="lower" border="0" height="100%">
    <tr>
       
    <td valign="top" class="LeftPane"> [SOLPARTMENU]
    </td>
       
    <td valign="top">
      <table width="100%" cellpadding="2" cellspacing="0" border="0">
                <tr>
                   <td colspan="2" valign="top" id="TopPane"></td>
                </tr>
                <tr>
                    <td width="50%" id="ContentPane"> </td>
                    <td width="50%" id="RightPane"> </td>
                </tr>
                <tr>
                   <td colspan="2" valign="top" id="BottomPane"> </td>
                </tr>
            </table>
       
    </td>
    </tr>
    <tr>
        <td valign="top" align="center" id="Footer" colspan="2" height="75">
            [LOGIN] | [USER]
        </td>
    </tr>
</table>
</div>
</body>
</html>
 
New Post
6/14/2006 10:47 PM
 
ech, when I build a skin I usually make the html just like you have, but before I zip it up to parse, I strip the head and body html out leaving only this:
<div align="center">
<table cellspacing="0" cellpadding="0" border="0" width="98%">
    <tr>
        <td valign="top" align="left" width="232">
            <img src="images/logo.gif">
        </td>
        <td valign="top" width="226" align="right">
            <img src="images/slice01.gif">
        </td>
        <td valign="top" width="184" align="center">
            <img src="images/slice02.gif">
        </td>
        <td valign="top" align="left">
            <img src="images/slice03.gif">
        </td>
    </tr>
</table>
<table width="98%" cellpadding="0" cellspacing="0" class="lower" border="0" height="100%">
    <tr>
    <td valign="top" class="LeftPane"> [SOLPARTMENU]
    </td>
    <td valign="top">
      <table width="100%" cellpadding="2" cellspacing="0" border="0">
                <tr>
                   <td colspan="2" valign="top" id="TopPane"></td>
                </tr>
                <tr>
                    <td width="50%" id="ContentPane"> </td>
                    <td width="50%" id="RightPane"> </td>
                </tr>
                <tr>
                   <td colspan="2" valign="top" id="BottomPane"> </td>
                </tr>
            </table>
    </td>
    </tr>
    <tr>
        <td valign="top" align="center" id="Footer" colspan="2" height="75">
            [LOGIN] | [USER]
        </td>
    </tr>
</table>
</div>

You also need to add the runat="server" attribute to your content panes.
 
New Post
6/14/2006 11:41 PM
 

Dear Ech01
Like SamTammer said...
But don't forget to eliminate alle the spaces between the <td>    </td> tag... Every space = 2 or 3 pixels... And then wondering why this all look not the same as you thought...
For instance:

  <td valign="top" class="LeftPane"> [SOLPARTMENU]
    </td>

...
<td width="50%" id="ContentPane"> </td>


Vriendelijke groeten
Gilbert Vanden Borre
 
New Post
6/18/2006 11:32 AM
 
Taking everyones suggestion, I modified the skin html file, but I still get the same error when I try to preview the skin. Any other sugestions? Below is what I have now.


<!--
<link href="skin.css" rel="stylesheet" type="text/css" />


<body bgcolor="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
-->
<div align="center">
<table cellspacing="0" cellpadding="0" border="0" width="98%">
    <tr>
        <td valign="top" align="left" width="232">[LOGO]</td>
        <td valign="top" width="226" align="right">
            <img src="images/slice01.gif">
        </td>
        <td valign="top" width="184" align="center">
            <img src="images/slice02.gif">
        </td>
        <td valign="top" align="left">
            <img src="images/slice03.gif">
        </td>
    </tr>
</table>
<table width="98%" cellpadding="0" cellspacing="0" class="lower" border="0" height="100%">
    <tr>
       
    <td valign="top" class="LeftPane" runat="server">[SOLPARTMENU]</td>
       
    <td valign="top">
      <table width="100%" cellpadding="2" cellspacing="0" border="0">
                <tr>
                   <td colspan="2" valign="top" id="TopPane" runat="server"></td>
                </tr>
                <tr>
                    <td width="50%" id="ContentPane" runat="server" valign="top"></td>
                    <td width="50%" id="RightPane" runat="server" valign="top"></td>
                </tr>
                <tr>
                   <td colspan="2" valign="top" id="BottomPane" runat="server"></td>
                </tr>
            </table>
       
    </td>
    </tr>
    <tr>
        <td valign="top" align="center" id="Footer" colspan="2" height="75" runat="server">[LOGIN] | [USER]</td>
    </tr>
</table>
</div>

 
New Post
6/18/2006 11:42 AM
 

Yes,
Take away the runat="server" from SolPartMenu, LogIn and User.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Skin Parses, but errorsSkin Parses, but errors


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