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, ...dnn_ prefix on HTML objectsdnn_ prefix on HTML objects
Previous
 
Next
New Post
3/28/2010 11:15 AM
 

When a page with my skin is displayed in the browser, all of my html object ids have been prefixed with "dnn_" .  I don't see the prefixes in the ASCX file.  Needless to say, this makes DNN unhappy as it can no longer find a ContentPane.

I am using version 05.03.00.  I didn't have this problem with the previous version.

 
New Post
3/28/2010 2:40 PM
 

If you are talking about the dnn_ being added to the panes, that has not changed, it has always been that way.
You should use a class if you want to address the panes.

 
New Post
3/28/2010 5:17 PM
 

 Thanks for the reply, Timo.

Perhaps I am missing something.

I have a div which contains the [CONTENTPANE] token, as below:

    <div runat="server">
        [CONTENTPANE]
    </div>

After parsing the skin.htm, the ascx file contains a div with an id="ContentPane"
    <div runat="server">
        <div runat="server" id="ContentPane"></div>
    </div>
 
When I view a page using the skin, there is an error message from DNN saying that it cannot locate the ContentPane for the skin.  When I look at the page with Firebug, I see this:
    <div >
        <div id="dnn_ContentPane"></div>
    </div>
 

 
New Post
3/28/2010 6:59 PM
 

You should not add the runat="server" to the div containing the [CONTENTPANE] in the HTML skin

You only need it for the pane itself in the ascx skin:

    <div">
        <div runat="server" id="ContentPane"></div>
    </div>

 
New Post
3/28/2010 7:40 PM
 

 Thanks Timo - but no change.

skin.htm:
    <div>
        [CONTENTPANE]
    </div>

 
skin.ascx:
    <div>
        <div runat="server" id="ContentPane"></div>
    </div>
 
Firebug:
    <div>
        <div id="dnn_ContentPane"></div>
    </div>

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...dnn_ prefix on HTML objectsdnn_ prefix on HTML objects


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