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, ...HTML Skin questionHTML Skin question
Previous
 
Next
New Post
11/17/2006 12:52 AM
 

Hopefully a simple question but it has been driving me insane.  I have an html skin that I've been creating that looks something like:

...

                   <tr>
                       <td width="25" align="center" valign="middle">&nbsp;</td>
                    <td align="left" valign="top">&nbsp;</td>
                            </tr>
                   <tr>  
                       <td width="25" align="center" valign="middle">&nbsp;</td>
                    <td align="left" valign="top" class="copy">[CONTENTPANE]</td>
                   </tr>
                  </table>
     </td>
     <td width="219" align="center" valign="top" bgcolor="#999966">
         <img src="images/whatshappening.gif" width="219" height="73"><br>
      <table width="200" border="0" cellspacing="0" cellpadding="0" ID="Table8">
       <tr>
        <td align="left" valign="top" class="copy_bold_white">[CONTENTPANE:1]</td>
       </tr>
      </table>

...

And an XML file that has

...

 <Object>
  <Token>[CONTENTPANE]</Token>
  <Settings>
   <Setting>
    <Name>ID</Name>
    <Value>RightPane</Value>
   </Setting>
  </Settings>
 </Object>
 <Object>
  <Token>[CONTENTPANE:1]</Token>
  <Settings>
   <Setting>
    <Name>ID</Name>
    <Value>RightPane</Value>
   </Setting>
  </Settings>
 </Object>
 <Object>
  <Token>[CONTENTPANE:2]</Token>
  <Settings>
   <Setting>
    <Name>ID</Name>
    <Value>MiddlePane2</Value>
   </Setting>
  </Settings>
 </Object>

....

Although it doesn't have a contentpane:2 in the html file, I was using that to try to figure out what I was doing wrong.  The file is parsed fine without error but when I create a page using the skin the only the contentpane has a default content area in it.  How do I get the other conent area to display?

Many thanks...

Michael

 

 
New Post
11/17/2006 9:50 AM
 

In the HTML, use CONTENTPANE:1 and CONTENTPANE:2, and the same in the XML file.
BUT - it's much easier to take the short route... in the HTML, use this:
<td align="center" valign="middle"><div id="YourContentPaneName" runat="server" class="YourClassName"></div></td>
 and then you can eliminate the content pane designations in the .XML file altogether.

Remember rule #1, though: A DNN skin must have at least one content pane, and it must be named "ContentPane". After that, you can name (ID=) the rest of them almost anything you'd like. You also have to use the runat="server" directive when not using XML.

 
New Post
11/17/2006 2:23 PM
 

That part I have done as can be seen in the snippets that I included.  Although, I noticed that there is a typo in the value of the contentpane setting.

Maybe I am asking the wrong question.  How do I get a content area to show in the contentpane:2 section?

Thanks

Michael

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...HTML Skin questionHTML Skin question


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