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, ...Nested DIV not being recognized as DNN paneNested DIV not being recognized as DNN pane
Previous
 
Next
New Post
6/14/2007 12:52 PM
 

Using DNN 4.5.1, I am trying to create a skin based only on DIVs (no tables) but for some reason DNN isn't picking up the id's (that are specified in <div> tags within the <div> tag that contains the 'ContentPane' id) as panes in which I can drop modules. Although, this works when using nested tables! But I want to use DIVs so I can use the full potential of CSS and to keep the skin code easier to understand and much more manageable than dealing with nested <tr> and <td>. Any ideas?

This is my first post on DNN so please excuse any lacking information and let me know what you would need to know. I don't have a URL to show since I am testing this on my machine using the VS development server. Thanks!!

 
New Post
6/14/2007 2:24 PM
 

did you include the RunAt="server" attribute in the div declaration?


Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
New Post
6/14/2007 2:44 PM
 

Yes I did. As far as i can tell, i've kept everything consistent between the table skin and div skin. Here's the div code:

<div class="pagemaster">
<div class="skinmaster">
 <div id="ControlPanel" runat="server"></div>

 <div class="skingradient">
  <img style="border:none" src="/DNN451/images/as-hen-home.gif" alt="hen" />
     <dnn:CURRENTDATE runat="server" id="dnnCURRENTDATE" />
     <dnn:SEARCH runat="server" id="dnnSEARCH" />
  <div class="loginlinks">
    <dnn:USER runat="server" id="dnnUSER" />&nbsp;&nbsp;<dnn:LOGIN runat="server" id="dnnLOGIN" /></div>
 </div> <!--skingradient-->
 <div class="skinheader">
  <dnn:LOGO runat="server" id="dnnLOGO" />
 </div> <!--skinheader-->

 <div class="toppane" id="TopPane" runat="server"></div>
    <div class="leftpane" id="LeftPane" runat="server">
     <dnn:MENU runat="server" id="dnnMENU" Display="Vertical" />
 </div> 

<!-- begin: NESTED DIV for DNN Pane -->


    <div class="contentpane" id="ContentPane" runat="server">  <div class="story" id="Story1" runat="server"></div>
    </div>

<!-- end: NESTED DIV for DNN Pane --> 


    <div class="rightpane" id="RightPane" runat="server"></div>
 <div class="bottompane" id="BottomPane" runat="server"></div>

 <div class="skingradient">
  <dnn:COPYRIGHT runat="server" id="dnnCOPYRIGHT" />&nbsp;&nbsp;<dnn:TERMS runat="server" id="dnnTERMS" />&nbsp;&nbsp;<dnn:PRIVACY runat="server" id="dnnPRIVACY" /></div>

</div> <!--skinmaster-->
</div>

 
New Post
6/14/2007 2:53 PM
 

ah i see now

You cannot nest content panes, thats also not possible with tables, eg. with tables this would not work either:

<table><tr><td class="contentPane" id="contentPane" runat="server"><table><tr><td class="story" id="Story1" runat="server"></td></tr></table></td></tr></table>


Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
New Post
1/10/2008 1:27 PM
 

btw, i was able to figure out after a couple of days how to make this work quite simply (isn't it almost always something simple?). here's how:

    <div class="centerpane">
       <div class="contentpane" id="ContentPane" runat="server"></div>
       <div class="story" id="Story1" runat="server"></div>
       <div class="story" id="Story2" runat="server"></div>
       <div class="story" id="Story3" runat="server"></div>
       <div class="story" id="Story4" runat="server"></div>
    </div>

so in this case, the 'contentpane' is being used to fill the entire width of the 'centerpane' div and then 'Story1' thru 'Story4' divs split into 4 equal parts that sit underneath the 'contentpane' div.

i should've posted this back when i figured it out but prolly forgot to do that in all my excitement of being able to make it work! :) but posting it now anyway to hopefully help someone facing the same issue.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Nested DIV not being recognized as DNN paneNested DIV not being recognized as DNN pane


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