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/30/2006 8:59 AM
 

Empulse, you're completely right, thank you for clarifying! It's obviously enough to put  runat="server"  in certain tags like <div> and <td>, and the id will show up in the Control Panel's Pane list. The Documentation concerning the [CONTENTPANE] skin object has caused me a lot of headache, but with a free product you have to accept a bit of extra work.

 
New Post
9/30/2006 7:31 PM
 
I tried exactly what you were trying to do a few months ago and spent days (maybe weeks!) trying to get skins to work using [CONTENTPANE:1] etc.  Found that it was just much easier to do it the way I posted. 

I have a set skin designs that I expect to post (will be free) in the next week or so that relies MOSTLY on CSS for styling and layout - (I found it almost impossible to create working skins with 100% CSS - So There is a table) .  I have three different SKIN.css files that use  the same  HTML file but  looks  like three completly different skins . Actually I have Two  finished, am working on the third.  ALL graphics are injected by the CSS. 

 
 
New Post
10/5/2006 2:34 AM
 
You people are really confusing. Sorry... but it's true. I tried using [contentpane] and it worked like normal. The problem came when I tried to use [contentpane:1] as suggested in the documentaion and my book. I got an error that contentpane was already used. THEN I try the suggestion of using id="contentpane" and now I can't do anything at all due to the fact that DNN can't find the contentpane and therefore can't plug in any content. Does anyone have experience doing this on several servers, hosted internally and externally? This really seems like a very basic problem andI can't believe there isn't more documentation on it.
 
New Post
10/5/2006 12:22 PM
 
Is it just runat="server" that fixes it? I'm so frustrated right now after the install process I don't know what to do. Now I think I have to reinstall the whole app just to get the skin to reparse. Is DNN meant only for serious developers/server admins? I understand it's free but there's a huge demand for it, and it's on v 4.3. If I had the info I'd gladly assemble it into a guide for the greater good!

Is there a way to reparse the skin package without reinstalling?
 
New Post
10/7/2006 5:49 PM
 
There are sevrral things you can do:

You can delete the folder and skins from your server (just the one you created, not the whole skins folder) - dnn will kick out an error when you  try to go to your site, but it will revert to the default skin and you will be able to  go to your setup tab and apply one of the supplied DNN skins.

you can edit the .ascx skin files directly.  When you upload or parse an HTML skin, DNN creates a n ascx file with the same name.  When you view a page, it is actually the ascx file that DNN uses, not the HTML file.

Find the ascx file and look for yur contant pane.
Edit it so that it looks something like this.

<div id="contentpane" runat="server"></div>
or
<td id="contentpane" runat="server"></td>
Save it back to yur site (FTP or whatever you have to do)
and go to your site. - you should have a contentpane.

OR.
You can copy one of the standard DNN skin files(the ascx file) to the folder where the skin you developed lives,
and rename it so that it matches as the skin you developed.

Advice: when working on new skins: do not apply them to the portal until you are sure that they work.
create a new tab and apply the skin to just that tab. If you get stuck, you can use the pages tap (under admin) to change the skin
or you can just delete the skin package let DNN revert to the default skin.

BTW: Your problem earlier with the tokens [CONTENTPANE:1] and [CONTENTPANE:2] etc. probably occurred occurred because you did also not have a token called [CONTENTPANE],
without the enumerator
 
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