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, ...Container misunderstanding?Container misunderstanding?
Previous
 
Next
New Post
8/5/2014 1:48 PM
 
I am on a learning mission in an attempt to compare DNN to alternatives for a new site. I have a skin development environment up and running and have three skin ASCX files and two containers. They need some styling but they are working and no errors are being logged. The site background is necessarily dark so we now need a container that we can use to provide a custom background and set default fonts styles for page modules. It seems simple enough but I am having trouble. Here is the container source. I figured that I would begin with something that worked. So this is an exact clone of a working container. <%@ Control language="vb" AutoEventWireup="false" Explicit="True" Inherits="DotNetNuke.UI.Containers.Container" %> <%@ Register TagPrefix="dnn" TagName="TITLE" Src="~/Admin/Containers/Title.ascx" %>

I save the container, rebuild my skin and the new container becomes selectable in the portal UI. When I alter a HTML module to use the container, the module fails to render, logging this error: 2014-08-05 10:20:11,100 [VS2013-01][Thread:Scheduler Thread][ERROR] DotNetNuke.Services.Exceptions.Exceptions - System.InvalidOperationException: Sequence contains no matching element at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source, Func`2 predicate) at DotNetNuke.Services.Scheduling.Scheduler.CoreScheduler.LoadQueueFromTimer() at DotNetNuke.Services.Scheduling.Scheduler.CoreScheduler.Start() I tried reparsing the Skin from within DNN. It parses correctly and the new container is shown. I recycled the entire IIS service and the Application thinking that the cache may be causing issues. No joy. Any thought on what I missed? I suspect I missed a step but am currently clueless. Cheers... PS Attribution to Chris Hammond. I started with his HammerFlex skin which works quite nicely. This issue however is attributable to me.
 
New Post
8/5/2014 2:58 PM
 
please make sure, your Container contains one div or td tag with ID"ContentPane" to render module content

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
8/5/2014 3:48 PM
 

Thanks for the quick reply!

It does have that ID defined: <div class="ContainerPane" runat="server" id="ContentPane"></div>

 

 

 

 
New Post
8/5/2014 4:04 PM
 

I have further information

  1. The error message I pasted above does not seem to be related.  It's occurring without regard to activity on the site.  I'll create a separate thread for that one if I can't figure it out.
  2. So there is nothing being logged in this regard.  PF12 shows that the div structure is being emitted but the content is not.  For example, I can locate the div showing my container class with a generated "id=dnn_ctr419_Div1" but the element is empty.  Here is a paste of the generated HTML.  The title and the content are empty.  If I switch to my other container file (identical context except for file name) it works fine.

<div class="row" id="ContentLeftCol">
        <div class="col-md-3" id="dnn_LeftPane"><div class="DnnModule DnnModule-DNN_HTML DnnModule-419"><a name="419"></a>

<div class="ContainerWrapper">
    <div class="dnnClear">
        <h2><span class="Head" id="dnn_ctr419_TITLE1_titleLabel"> </span>


</h2>
       
        <div class="ContainerPane" id="dnn_ctr419_Div1"></div>
    </div>
</div>



</div></div>
        <div class="col-md-9 DNNEmptyPane" id="dnn_ContentPaneRight"></div>
    </div>

 
New Post
8/5/2014 5:11 PM
 
Tom, you should compare your container source code with source code of DNN default container, not the generated code. ID named "dnn_ctr419*" are generated automatically by DNN (to distinguish multiple modules on a page). If you want the title to be displayed, you need to provide a dnn:title tag, same with module action menu.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Container misunderstanding?Container misunderstanding?


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.

Content Layout

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out