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, ...Error: The ID Error: The ID 'ContentPane' is already used by another control.
Previous
 
Next
New Post
9/25/2006 4:58 PM
 

I'm getting the following error after I try using a new skin I created:

Could Not Load Skin: /Portals/_default/Skins/html3/skin.ascx Error: The ID 'ContentPane' is already used by another control.

Any idea why this may be?  My .zip file I uploaded through the interface as host contains (in same directory) a few images, a style.css file, skin.xml file, Skin.htm file.  The skin.xml file has the following lines of code:

<objects>
 <object>
  <token>[CONTENTPANE:1]</token>
  <settings>
   <setting>
    <name>ID</name>
    <value>LeftPane</value>
   </setting>
  </settings>
 </object>
</objects>

My Skin.htm file is only using [CONTENTPANE], [CONTENTPANE:1], [DOTNETNUKE]

 

 

 
New Post
9/25/2006 6:00 PM
 

Use CONTENTPANE:1 and CONTENTPANE:2

 

 
New Post
9/26/2006 10:13 AM
 
Thank you for this suggestion.  I'm still getting the same error however:

Could Not Load Skin: /Portals/_default/Skins/html4/skin.ascx Error: The ID 'ContentPane' is already used by another control.

In my skin.xml file I have the following code:

<objects>
    <object>
        <token>[CONTENTPANE:1]</token>
        <settings>
            <setting>
                <name>ID</name>
                <value>LeftPane</value>
            </setting>
        </settings>
    </object>
    <object>
        <token>[CONTENTPANE:2]</token>
        <settings>
            <setting>
                <name>ID</name>
                <value>MainPane</value>
            </setting>
        </settings>
    </object>
</objects>

I'm only using CONTENTPANE:1 and CONTENTPANE:2 in my Skin.htm file.  I am only trying to upload a skin file vs. any containers at this time.  I don't get any preview rendered in the preview box after I upload my skin ZIP file as well.

Any further suggestions, etc. would be very much appreciated... starting to loose sleep over this! :)


 
New Post
9/26/2006 11:31 AM
 
I am not sure about this, but I think you have to have one pane with an id of  "contentpane", in your skin.  It looks like you have one called "leftpane" and another called "mainpane" but not one called "contentpane".

I would recommend not putting those token references in your XML file and naming your panes directly in the skin.

i.e. <div ID="leftpane" class="thisclass" runat="server"></div>.  I KNOW that works.

The conventional naming scheme that most skin designers use is "toppane", "leftpane", "contentpane", "rightpane" and "bottompane" - at least for those five panes.  If the user switches skins from a skin with panes named in the standard fashion, to a skin with unusual named panes, DNN will try to fit the content into panes with the names that correspond to the pane names of the original skin.  If the pane names in the new  skin do not correspond, DNN will put the content into the pane called "contentpane".
 
New Post
9/26/2006 1:11 PM
 
Thank you for this advice.  This is what I have in my Skin.htm file currently:

<table width="100%" style="height:100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td height="79" colspan="2" id="topHeader">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td width="172"><img src="logo.gif" alt="CIEE" width="129" height="79" /></td>
                    <td align="left"><img src="hdSC.gif" alt="" width="176" height="70" /></td>
                    <td width="197" align="center"><a href="."><img src="hdPictures.jpg" alt="" width="197" height="71" border="0" /></a></td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td width="172" valign="top" id="mainNav">[CONTENTPANE:1]</td>
        <td valign="top" id="contentFrame">[CONTENTPANE:2]</td>
    </tr>
    <tr id="footerFrame">
        <td colspan="2">Copyright message here...</td>
    </tr>
</table>

Are you suggesting I try something like the following, not defining anything in skin.xml?  I am not quite sure when I need to define objects in skin.xml by the way:

<table width="100%" style="height:100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td height="79" colspan="2" id="topHeader">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td width="172"><img src="logo.gif" alt="CIEE" width="129" height="79" /></td>
                    <td align="left"><img src="hdSC.gif" alt="" width="176" height="70" /></td>
                    <td width="197" align="center"><a href="."><img src="hdPictures.jpg" alt="" width="197" height="71" border="0" /></a></td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td width="172" valign="top" class="mainNav" id="leftpane"></td>
        <td valign="top" class="contentFrame" id="contentpane"></td>
    </tr>
    <tr id="footerFrame">
        <td colspan="2">Copyright message...</td>
    </tr>
</table>

Thanks again for your help with this.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Error: The ID Error: The ID 'ContentPane' is already used by another control.


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