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, ...Promo pane wonPromo pane won't go away in my simple skin
Previous
 
Next
New Post
5/7/2010 2:55 PM
 
I am doing a simple skin which i want to have one 'contentpane' the entire width of the skin.  But the promo pane is there on the installed skin.  I don't even have a promo pane table column in my skin html design.  I notice that the default 'Home' page has content going all the way across with no promo pane.  But on layout view the promo pane appears for the 'Home page'.

I am a noob at skinning but learning slowly.

The html below is adapted from the Wrox book dnn skinning guide first skin example:-

<link href="skin.css" rel="stylesheet" type="text/css" />
<table cellpadding="0" cellspacing="0" id="MySimpleTableSkin">
   <tr>
      <td id="ControlPanel" runat="server"></td>
   </tr>
   <tr>
      <td>

         <table cellpadding="0" cellspacing="0" id="bannerTable">
            <tr>
               <td id="logoCell">[LOGO]</td>
               <td id="searchCell">[SEARCH]</td>
            </tr>
         </table>

      </td>
   </tr>
   <tr>
      <td id="menuTableWrapperCell">

         <table cellpadding="0" cellspacing="0" id="menuTable">
            <tr>
               <td id="menuWrapper">[MENU]</td>
               <td id="contactUsWrapper">
                  <a href="#" id="ContactUsLink">Contact Us</a>
               </td>
            </tr>
         </table>
       </td>
   </tr>
   <tr>
      <td id="contentTableWrapperCell">

         <table cellpadding="0" cellspacing="0" id="contentTable">
            <tr>
               <td id="PromoPane" runat="server" class="PromoPane"></td>
               <td id="ContentWidePane" runat="server" class="ContentWidePane"></td>
            </tr>
         </table>
      </td>
   </tr>
   <tr>
      <td id="footerTableWrapperCell">      
         <table cellpadding="0" cellspacing="0" id="footerTable">
            <tr>
               <td id="copyrightCell">
                  [COPYRIGHT]
                  [TERMS]
                  [PRIVACY]
               </td>
               <td id="userCell">
                  [USER]
                  [LOGIN]
               </td>
            </tr>
            <tr>
               <td colspan="2">
                  [DOTNETNUKE]
               </td>
            </tr>
         </table>         
      </td>
   </tr>
</table>
 
New Post
5/8/2010 7:51 AM
 

Scott,

If you're looking to get a single pane to fill the full width of the layout, where you've got:

<tr>
<td id="PromoPane" runat="server" class="PromoPane"></td>
<td id="ContentWidePane" runat="server" class="ContentWidePane"></td>
</tr>

remove the <td id="PromoPane" runat="server" class="PromoPane"></td> with the above layout you've got 2 panes next to eachother, removing the promopane will mean you've only got one pane and it should be as wide as your design.

Rick.



PSDtoDNN - You supply the artwork... we'll build the skins!™
Website | Twitter | YouTube | Skype
 
New Post
5/8/2010 1:15 PM
 
Oops i should check my html better.  Removed promopane table column and now my simple skin contentpane uses the full width :)
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Promo pane wonPromo pane won't go away in my simple skin


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