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, ...RunAt="server" in a html-skin in the starterkitRunAt="server" in a html-skin in the starterkit
Previous
 
Next
New Post
2/2/2006 7:43 AM
 
 As far as I understand you are supposed to write [CONTENTPANE] as a placeholder where you want your content to be placed, and if you want more then one content pane you write [CONTENTPANE:X] where X is a unique number for each content pane. But in the html-skin you get when you create a new skin with the starter kit (4.0.2) there is no [CONTENTPANE] but still it still seams to work. Why is there an ID specified for the td-tags that the starter kit uses as content panes? Why do the TD tags have "runat=server" in a HTML sknin file?

Is there another way to do content panes then writing [CONTENTPANE] in a html-skin? Where is the documentation for this?

This is what the table defining the different content part look like in the starter kits default skin


<TABLE cellspacing="3" cellpadding="3" width="100%" border="0">
  <TR>
    <TD colspan="3" id="TopPane" runat="server" valign="top">  </TR>
  <TR valign="top">
    <TD id="LeftPane" runat="server" valign="top">    <TD id="ContentPane" runat="server" valign="top">    <TD id="RightPane" runat="server" valign="top">  </TR>
  <TR>
    <TD colspan="3" id="BottomPane" runat="server" valign="top">  </TR>
</TABLE>

 
New Post
2/2/2006 9:41 AM
 
have a lookhe skinning guide. that is part of the documentation package. It describes the differences between html and ascx versions of a skin and how html skins are compiled into ascx version.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
2/2/2006 9:43 AM
 
This can be a little confusing when first starting out, if you follow the format of the Standard skins it will make sense.

The id that has been set in the table cell corresponds to the Text that you will read in the drop down list from the admin control panel when you are selecting which pane to insert your module. - So basically the id names the content panes.

runat=server is required for DNN to set up these ids as content panes.

If you try out this format you will find that it makes much more sense and is easy for understanding which Content pane you are inserting your modules into.

Hope this helps, thanks,

Skinning Video Tutorials

Lee Sykes - DNN Creative Magazine - 600+ Video Tutorials, Articles, Interviews - July Issue 58 out now!
DNN Creative Magazine for DotNetNuke

Twitter: www.twitter.com/DNNCreative

Lee Sykes's Facebook Profile
 
New Post
2/2/2006 10:53 AM
 

Are all <td> tags that have RunAt=Server a contentPane?

What if I don't want my content pane in a <td> tag?  what if I don't want it in any tag at all?

 

Is the use of [CONTANTPANE] in a html skin not suported any more or nor recomended?

Why does all other Tokens in the Starterkit html skin use the Standard html [xxxx] tokens and then the contentpane is done in a compleatly different way?

 
New Post
2/2/2006 4:50 PM
 
Hello,

Yes when you see runat=server in your html file, this is a content pane where you can add a module.
If you don't want to use tables, you can use divs,  eg.

<div id="contentpane" class="container_sponsor" runat="server"></div>

Or,

[CONTENTPANE] is still supported, I use the other method because I find it easier to follow when creating a skin. - It's just 2 different ways of working. - Check the skinning documentation pages 12-13 from the docs that are available for download. This discusses the [CONTENTPANE] token.

Hope this helps,

Lee Sykes - DNN Creative Magazine - 600+ Video Tutorials, Articles, Interviews - July Issue 58 out now!
DNN Creative Magazine for DotNetNuke

Twitter: www.twitter.com/DNNCreative

Lee Sykes's Facebook Profile
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...RunAt="server" in a html-skin in the starterkitRunAt="server" in a html-skin in the starterkit


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