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, ...Skin with multiple runat=server do not allow adding a module in containerSkin with multiple runat=server do not allow adding a module in container
Previous
 
Next
New Post
12/18/2007 4:25 PM
 

I have the next part of a skin layout. If I would like to add content, only the ImgRot is shown to which content can be added. The other content panes like "Rightmenu" are not shown at all.

It seems a second div with runat=server is not interpreted?

How can this be fixed?

<div id="PageHolder">
<div id="ImgRot" runat="server">
  <div class="TopHolder">
    <div class="TopText"  id="TitlePane" runat="server"><dnn:MLPAGETITLE ID="mlpgt" runat="server"/></div>
    <div class="TopShop" runat="server">U heeft 4 artikelen in uw winkelmandje<span><img alt="" src="<%= SkinPath %>images/winkel.jpg" /></span></div>
    <div class="TopMenu"><dnn:MLMENU ID="dnnMLMENU" runat="server" /></div>
  </div>
  <div class="RightHolder" id="RightPane" runat="server"><V4A:MPLSknChld ID="mplSkn" runat="server" /><dnn:LOGO runat="server" id="dnnLOGO" />
  <div class="RightMenu"><dnn:LOGIN ID="LOGIN" runat="server" /><div class="Outlet"></div></div>
  </div>
  <div class="Left" id="LeftPane" runat="server"></div>
  <div class="Middle" id="ContentPane" runat="server"></div>
  <div class="TabsHolder">
     <div class="Tab" id="Tab1Pane" runat="server"></div>
     <div class="Tab" id="Tab2Pane" runat="server"></div>
     <div class="Tab" id="Tab3Pane" runat="server"></div>
     <div class="Tab" id="Tab4Pane" runat="server"></div>
  </div>
  <div class="Banners" id="BannersPane" runat="server"></div>
  <div id="Div1" class="Clear" runat="server"></div>
  </div>
</div>

 
New Post
12/18/2007 10:53 PM
 

You cannot have ANYTHING inside the Pane...

Change   <div class="TopText"  id="TitlePane" runat="server"><dnn:MLPAGETITLE ID="mlpgt" runat="server"/></div> to   <div class="TopText"  id="TitlePane" runat="server"></div>

 
New Post
12/19/2007 4:14 AM
 

We did seperate them and use css + javascript to place them correctly on the page. However, it should be nicer if DNN would be able to support multiple server tags. Do you know a workaround?

 
New Post
12/19/2007 10:50 AM
 

DotNetNuke still works fine when you have multiple server tags inside a pane.

I have not played with MLMENU so I don't know if it is something caused the issue.

Other than that, the way you set up your panes and inserted something else inside, works fine!


Cuong Dang
Co-founder: Enliven, dnnGallery
LinkedIn | Twitter
I'm the author of DNN and Web Standards Wrox Blox

 
New Post
12/19/2007 5:45 PM
 

Do you perhaps have similar sample then? Then I copy-paste that so look if I get same results.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Skin with multiple runat=server do not allow adding a module in containerSkin with multiple runat=server do not allow adding a module in container


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