473,890 Members | 1,408 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DNN skin upload problem

Hello there,

I got a problem when I was uploading the skin I developed.

Following is the code from my original skin template (skin.htm):

<TABLE cellspacing="3" cellpadding="3" width="100%"
border="0">
<TR>
<TD class="toppane" colspan="3" valign="top"
align="center">[CONTENTPANE:3]</TD>
</TR>
<TR valign="top">
<TD class="leftpane " valign="top"
align="center">[CONTENTPANE:1]</TD>
<TD class="contentp ane" valign="top"
align="center">[CONTENTPANE]</TD>
<TD class="rightpan e" valign="top"
align="center">[CONTENTPANE:2]</TD>
</TR>
<TR>
<TD class="bottompa ne" colspan="3" valign="top"
align="center">[CONTENTPANE:4]</TD>
</TR>
</TABLE>
Here is error message: "could not load skin:
/portals/_default/Skins/AAWP/skin.ascx error: ID "contentpan e" is
already used by another control."

Then I open the skin.ascx file, and here is some code from that file:

<TABLE cellspacing="3" cellpadding="3" width="100%"
border="0">
<TR>
<TD class="toppane" colspan="3" valign="top"
align="center" runat="server" id="contentpane "></TD>
</TR>
<TR valign="top">
<TD class="leftpane " valign="top" align="center"
runat="server" id="contentpane "></TD>
<TD class="contentp ane" valign="top" align="center"
runat="server" id="ContentPane "></TD>
<TD class="rightpan e" valign="top" align="center"
runat="server" id="contentpane "></TD>
</TR>
<TR>
<TD class="bottompa ne" colspan="3" valign="top"
align="center" runat="server" id="contentpane "></TD>
</TR>
</TABLE>

Obviously the skin uploader has converted CONTENTPANE, CONTENTPANE:1,
CONTENTPANE:2, CONTENTPANE:3 and CONTENTPANE:4 all into
id="contentpane ", which caused the error.

So then I have to manually changed the skin.ascx file to make the skin
working.

Here is the code I changed inside the skin.ascx file:

<TABLE cellspacing="3" cellpadding="3" width="100%"
border="0">
<TR>
<TD class="toppane" colspan="3" valign="top"
align="center" runat="server" id="TopPane"></TD>
</TR>
<TR valign="top">
<TD class="leftpane " valign="top" align="center"
runat="server" id="LeftPane"> </TD>
<TD class="contentp ane" valign="top" align="center"
runat="server" id="ContentPane "></TD>
<TD class="rightpan e" valign="top" align="center"
runat="server" id="RightPane"> </TD>
</TR>
<TR>
<TD class="bottompa ne" colspan="3" valign="top"
align="center" runat="server" id="BottomPane" ></TD>
</TR>
</TABLE>

Can anyone tell me what the cause of the error? I strictly followed the
DNN skin user manual. Why do I have to manually change the skin.ascx
file to make it work?

Thanks a lot!

Dec 27 '05 #1
0 2221

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1114
by: Mark Dufour | last post by:
Hi all, I have just released Shed Skin 0.0.5. It fixes many bugs and adds many minor features to the Python builtins, most notably, the 'set' class. There have also been some optimizations on the C++ side. Finally, the README now better explains the compiler's limitations, and a TODO file has been added containing open bugs. I would like to invite anyone to try out this new version, especially if there were problems with 0.0.4. If you...
7
4982
by: Frédéric Mayot | last post by:
Hi I'm trying to define a skin for a custom control. I can't see how to do it... My custom control inherits from a TextBox but it doesn't recognize the skinID defined for asp:TextBox. Any idea ? Thanks, Fred
1
1312
by: Andre | last post by:
Hi, I'm using Visual Web Developer 2005 to create a .skin file. But i have a problem (i think) ;o) When editing my skin file, in the toolbox, i can only drag HTML controls.. the Server Control (In the Standard section of the toolbox) are disabled. In skin file we can only put server control, so, is it a problem or i'm missing something ?
1
2151
by: Frédéric Mayot | last post by:
Hi, I'm trying to apply skins to all my controls. I didn't want to specify a skin all the time, so I used a default skin. The problem is that I sometimes would like to override a property specified by the default skin (the width of a control) and it doesn't seem to work (asp ignored the overriden value). Thanks for you help,
1
3723
by: Alan Silver | last post by:
Hello, I am just converting a 1.1 web site to use version 2.0 of the framework and have run into a weird problem trying to add a skin file. I set up a theme, and moved the CSS file in there, no problem. I then changed one of the <img> tags in the master page to look like... <asp:Image ID="imgBsd" SkinId="imgBsd" runat="server" />
2
4392
by: shapper | last post by:
Hello, I created an Asp.Net 2.0 which contains a custom control. I compiled the project and now I am using it in a web site. The custom control contains a Panel, a Label and an Image. Here is how the custom control code starts:
1
992
by: robert112 | last post by:
Hi all, I have followed the instructions from here: http://www.dotnetnuke.com/About/DotNetNukeOnlineHelp/tabid/787/TID/1323/cid/93/Default.aspx to upload my shiny new skin. The problem is I do not have the menu options that the website is refering to! My DNN build is 4.0.0.1 and everything works well with no errors except for this weird problem. Any ideas? Here is a printscreen of my problem:
31
2823
by: Mark Dufour | last post by:
Hi all, I have recently released version 0.0.20 and 0.0.21 of Shed Skin, an optimizing Python-to-C++ compiler. Shed Skin allows for translation of pure (unmodified), implicitly statically typed Python programs into optimized C++, and hence, highly optimized machine language. Besides many bug fixes and optimizations, these releases add the following changes: -support for 'bisect', 'collections.deque' and 'string.maketrans'
8
5160
by: scotty | last post by:
Can a .skin file be created without visual studio? Thanks, Scott
0
9979
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9825
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10828
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10925
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10467
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9638
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
7171
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6052
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4276
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.