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, ...Parse error for Content Pane already usedParse error for Content Pane already used
Previous
 
Next
New Post
7/1/2006 4:02 AM
 

I have been struggling with this for a while now

 

My first skin is based on the DNN default from release 3.3.1

I have edited the tables and graphic

'****************

<TABLE style="BORDER-COLLAPSE: collapse" cellPadding="0" width="760" height="100%" border="0">
  <TR>
    <TD vAlign="top">
      <TABLE style="BORDER-COLLAPSE: collapse" cellPadding="0" width="100%" border="0">
        <TR>
          
                <TD vAlign="top" width="250"><P dir="ltr">
<IMG height=80   src="static_header.gif" width=250 border=0>
</P></TD>
                <TD vAlign="top" noWrap width="181"><IMG height=80 alt="MyFirst DNNukeSkin"
            src="animated_largebanner.gif"
            width=360 border=0></TD>
            
          <TD noWrap bgColor="#000000" height="25"><P><font color="#FFFFFF">[USER]&nbsp;&nbsp;<span class="OtherTabs">|</span>&nbsp;&nbsp;[LOGIN]</font></P>
          </TD>
        </TR>
      </TABLE>
    </TD>
  </TR>
 <TR>
  <TD vAlign="top">
      <TABLE style="BORDER-COLLAPSE: collapse" cellPadding="0" width="100%" bgColor="#993300" border="0">
        <TR>
         <TD vAlign="top" noWrap width="250"></TD>
        
         <TD background="" nowrap width="100%"><font color="#FFFFFF">[SOLPARTMENU]</font></TD>
          <TD vAlign="top" noWrap width="61"></TD>
        </TR>
        <TR>
<TD vAlign=bottom width=200 bgColor=#993300><A
            href="http://www.MyFirst-DNNukeSkin.com/index.asp"><IMG height=22
            src="www2.gif" width=200
          border=0></A></TD>
          <TD width="100%" nowrap bgColor="#000000"><font color="#FFFFFF">[BREADCRUMB]</font></TD>
          <TD vAlign="top" noWrap width="61"><IMG src="breadcrumbs_right.jpg" height="33" width="61" border="0"></TD>
        </TR>
 <TR>
          <TD colspan="3" bgColor=#cfcfc2 height=15><IMG height=20
            src="top_line.gif"
        width=760></TD>
</TR>

      </TABLE>
    </TD>
  </TR>
 

 

<TR>


    <TD height="100%" valign="top">
      <BR>
      <TABLE style="BORDER-COLLAPSE: collapse" cellPadding="0" width="100%" border="0">
        <TR>
          <TD id="LeftPane" runat="server" visible="false" vAlign="top" align="middle"></TD>
          <TD id="ContentPane" runat="server" visible="false" vAlign="top" align="middle"></TD>
          <TD id="RightPane" runat="server" visible="false" vAlign="top" align="middle"></TD>
        </TR>
      </TABLE>
      <BR>
    </TD>
  </TR>
<TR>
<TD height="100%" valign="top">
<TABLE style="BORDER-COLLAPSE: collapse" cellPadding="0" width="100%" border="0">
<TR>
<TD vAlign="top" align="middle" colspan="3" bgColor=#cfcfc2>[TOPPANE]</TD>
</TR>
<TR>
<TD vAlign="top" align="middle" bgColor="#f36f21" >[LEFTPANE]</TD>
<TD vAlign="top" align="middle" bgColor=#cfcfc2>[CONTENTPANE]</TD>
<TD vAlign="top" align="middle" bgColor=#cfcfc2>[RIGHTPANE]</TD>
</TR>
<TR>
<TD vAlign="top" align="middle" colspan="3" bgColor=#cfcfc2>[BOTTOMPANE]</TD>
</TR>
</TABLE>
<BR>
</TD>
</TR>
  <TR>
    <TD vAlign="bottom">
      <TABLE style="BORDER-COLLAPSE: collapse" cellPadding="0" width="100%" border="0">
       
<TR>
          <TD colSpan="3"><IMG height=15
            src="UNDER_line_RED.gif"
        width=760></TD></TR>
<TR>
<TR>
<TD bgColor="#993300" vAlign="top" align="middle" colspan="3">[FOOTERPANE]</TD>
</TR>
<TR>
          <TD align="middle" bgColor="#993300" colSpan="3" height="25"><font color="#FFFFFF">[LINKS]</font></TD>
        </TR>


        <TR>
          <TD  bgColor="#993300" align="middle" colSpan="3" height="25"><font color="#FFFFFF">[HOSTNAME]&nbsp;&nbsp;<span class="OtherTabs">|</span>&nbsp;&nbsp;[TERMS]&nbsp;&nbsp;<span

class="OtherTabs">|</span>&nbsp;&nbsp;[PRIVACY]</font></TD>
        </TR>
<TR>
          <TD colSpan="3"><IMG height=15
            src="top_line.gif"
        width=760></TD></TR>
<TR>
        <TR>
          <TD background="tile_body_bottom.jpg" vAlign="top" align="left"><IMG src="body_corner_left_bottom.jpg" height="26" width="20" border="0"></TD>
          <TD background="tile_body_bottom.jpg" align="middle"><font color="#000000">[DOTNETNUKE]</font></TD>
          <TD background="tile_body_bottom.jpg" vAlign="top" align="right"><IMG src="body_corner_right_bottom.jpg" height="26" width="20" border="0"></TD>
        </TR>

 

      </TABLE>
    </TD>
  </TR>
</TABLE>
********************

My xml file is

=============

<Objects>
 <Object>
<Token>[LINKS]</Token>
<Settings>
<Setting>
<Name>Separator</Name>
<Value><![CDATA[&nbsp;&nbsp;|&nbsp;&nbsp;]]></Value>
</Setting>
</Settings>
</Object>
<Object>
<Token>[TOPPANE]</Token>
<Settings>
<Setting>
<Name>ID</Name>
<Value>LeftPane</Value>
</Setting>
</Settings>
</Object>
<Object>
<Token>[LEFTPANE]</Token>
<Settings>
<Setting>
<Name>ID</Name>
<Value>RightPane</Value>
</Setting>
</Settings>
</Object>
<Object>
<Token>[CONTENTPANE:3]</Token>
<Settings>
<Setting>
<Name>ID</Name>
<Value>TopPane</Value>
</Setting>
</Settings>
</Object>
<Object>
<Token>[CONTENTPANE:4]</Token>
<Settings>
<Setting>
<Name>ID</Name>
<Value>BottomPane</Value>
</Setting>
</Settings>
 </Object>
</Objects>

=================

 

I am running 4.3.1 against sql 2005 database

when I try and view the skin i get a blank page

Parsing them produces this error

 

Could Not Load Skin: /Portals/_default/Skins/DNN-First Skin/MyFirstSkin Fixed.ascx Error: The ID 'ContentPane' is already used by another control.


Occasionally it comes up twice - At first I got it with "TopPane" so I tried changing its name in the xml file - It was referring to [CONTENTPANE:5] and retried it but the problem was the same. I then removed the extra ContenPane:N that I had added but with no success. After the new install it switched to the above.

Which makes sense in one way to me but I dont know what to do about it - I have tried a new install - I was using 4.3.0 before this problem came up.

I have used the code in the documentation as my template but am really stuck on this

This happens from the host - skins option and the add new portal

Any ideas????


Dave DNN 4.3.5 IIS - 6 ?? SQL Server 2005
 
New Post
7/1/2006 8:30 PM
 

Looks like you have the content pane there twice:

<TD id="ContentPane" runat="server" visible="false" vAlign="top" align="middle"></TD>

And then again a little lower down as a token, [CONTENTPANE].

Each pane must only appear once.



Shane Miller
Call Centers 24x7
 
New Post
7/4/2006 11:19 PM
 

Thanks CC24x7 - nice quick response

I dont know how i missed that or where I let it come in from

Can you tell me the benefits of each of the markup methods - i.e. using the tags [CONTENT] over the id="Content" -

I also notice the user/login on your home page - how is this configured?


Dave DNN 4.3.5 IIS - 6 ?? SQL Server 2005
 
New Post
7/5/2006 12:42 AM
 

The token [CONTENT] and the other similar tokens in brackets get parsed when the skin is uploaded.  The other tag with the ID is what results.  The standard skinning methods require the former approach.  I usually prefer the latter approach, however, because I do a lot of custom skinning and because I have full access to the server, file structure, etc. so it's easier for me to work directly with the files.

You'll find all this information, and much much more, in the file named DotNetNuke Skinning.pdf in the documentation package.  I know it's a lot to go through and it's not always easy to know where to start, but still if you skim through it you might start to get a sense of the "big picture" on how skinning works --- especially with these initial questions answered for you.

To answer your question about the login button on our home page, it's very handy and powerful to know the attributes of the skin objects.  This particular object, the login object, has its attributes detailed on page 48 of the documentation pdf.  Since I'm working directly with the ascx files it was quite easy, I merely needed to add the "login" attribute as "LOG IN".  So this is the actual code in the ascx file:

<dnn:LOGIN runat="server" id="dnnLOGIN" TEXT="LOG IN" CssClass="SignIn" />

 



Shane Miller
Call Centers 24x7
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Parse error for Content Pane already usedParse error for Content Pane already used


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