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, ...Simple skinning example?Simple skinning example?
Previous
 
Next
New Post
3/13/2007 3:44 PM
 




I'm confused. Can I just use the tokens or not? Also, why is there not a [CONTENTPANE:0] token in the example? Do the tokens have to be in order, or can you have a "3" without also having a "1" token?

Please advise, and thank you in advance for any assistance.

- John
I just read the "DotNetNuke Skinning.pdf" document on skinning, and it mentions the following tokens for creating a skin...

[CONTENTPANE]
[CONTENTPANE:1]
[CONTENTPANE:2]
[CONTENTPANE:3]

...but when I look at the htm files for the skins included with the default DNN install, I see things like...

 
New Post
3/13/2007 7:16 PM
 
The parsing engine and using [TOKEN]s comes in real handy when designing in HTML, but honestly using tokens for the content panes is kinda clunky.
It's much easier to code the content panes directly into the HTML.
There's only this rule to remember:  The skin file must have one, and only one, area for content named "contentpane".  In other words, you can have as many content panes on your page as you can fit, but one and only one must have the name "contentpane".

So, you can do like this in your HTML if using tables:
<tr>
    <td id="LeftPane" runat="server"
class="thatClass"></td>
    <td id="ContentPane" runat="server"
class="thisClass"></td>
    <td id="RightPane" runat="server"
class="thatClass"></td>
</tr>
<tr>
    <td colspan="3" id="BottomPane" runat="server" class="widePane">
</tr>
or like this if using CSS-based skinning methods:
<div id="ContentPane" runat="server" class="thisClass"></div>
<div=id="SomeOtherPane" runat="server" class="thatClass"></div>


Hope this helps...
 
New Post
3/13/2007 11:14 PM
 
Bro, you rock, Sam Tanner! That's exactly the information I was looking for! Thanks, bro!

- John
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Simple skinning example?Simple skinning example?


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