Forum


HomeHomePremiumPremiumSkinningSkinningDNN 7 Container fails in DNN 8 (SolPartMenu)DNN 7 Container fails in DNN 8 (SolPartMenu)
Previous
 
Next
New Post
8/3/2016 9:21 AM
 

Hi

I have a very simple container that puts a dashed line around a module (in this case a contact form) so it looks like the reply forms you used to have in magazines to use to guide the scissors

I've FTP it to the container area on a DNN 8 site but get error in relation to the SOLPART menu

 

The ASCX is

<%@ Control language="vb" CodeBehind="~/admin/Containers/container.vb" AutoEventWireup="false" Explicit="True" Inherits="DotNetNuke.UI.Containers.Container" %>


<% @ Register TagPrefix="dnn" TagName="ACTIONS" Src="~/Admin/Containers/SolPartActions.ascx" %>


<%@ Register TagPrefix="dnn" TagName="TITLE" Src="~/Admin/Containers/Title.ascx" %>





 


 



 

And the CSS

.RoundedContent {
background: #ffffff; /* Old browsers */
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px; 
/*-webkit-box-shadow: 0px 0px 3px 1px #d5d5d5;
-moz-box-shadow: 0px 0px 3px 1px #d5d5d5;
box-shadow: 0px 0px 3px 1px #d5d5d5; */
border:2px dashed #8dbc43;
position:relative;
behavior: url(www.newdriverschools.co.uk/Portals/_default/Skins/NewDriver_new/PIE.htc);
padding: 10px 5px;
margin:10px 0;
display:block;
}
.ie9 .RoundedContent  {
       filter: none;
    }

.RoundedCornersContent {
clear:both;
}
.RoundedCornersContent p {
font-size:0.9em;
display:block;
width:200px;

}
.spacer {
width:100%;
height:1px;
clear:both;
}
.RoundedCornersContent .DynamicForms_Label {
font-size:1.1em;
color:#018d8d;
}
.RoundedCornersContent .DynamicForms_Maintable {
    background-color: #FFF !important;
    padding: 0px !important;
    width: 100%;
}

I'd welcome any ideas, and or a video on how to build simple container

Thanks

 

Dave

 

 

 

 

 

 

 

 

 

 

 

 

 
New Post
8/3/2016 3:25 PM
 

Hi Dave,

Just remove this:

<% @ Register TagPrefix="dnn" TagName="ACTIONS" Src="~/Admin/Containers/SolPartActions.ascx" %>

and any other reference to "ACTIONS" within the container file.

Cheers,

Aderson

 
New Post
8/4/2016 1:18 AM
 

Hi Aderson

Sadly, did not work

<%@ Control language="vb" CodeBehind="~/admin/Containers/container.vb" AutoEventWireup="false" Explicit="True" Inherits="DotNetNuke.UI.Containers.Container" %>
<%-- @ Register TagPrefix="dnn" TagName="ACTIONS" Src="~/Admin/Containers/SolPartActions.ascx" --%>
<%@ Register TagPrefix="dnn" TagName="TITLE" Src="~/Admin/Containers/Title.ascx" %>
<%-- <dnn:ACTIONS runat="server" id="dnnACTIONS"  ProviderName="DNNMenuNavigationProvider" ExpandDepth="1" PopulateNodesFromClient="True" /> --%>
<div class="RoundedContent clearfix">

The file is adding the code see Firebug Image

I will leave the page as is http://bespokelogcabins4you.co.uk/New... (DNN 8.0.3)

Container applies to Summer House text

You can see the container working http://www.newdriverschools.co.uk/tor... (DNN 6.2.2)

In the CSS I also ended every line with !important; in an attempt to force it home

 

 

 

 
New Post
8/4/2016 7:42 AM
 

Hi Dave,

Add this to your sik.css file:

.DNNContainer_Title_h2 {
background: #ffffff; /* Old browsers */
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px; 
/*-webkit-box-shadow: 0px 0px 3px 1px #d5d5d5;
-moz-box-shadow: 0px 0px 3px 1px #d5d5d5;
box-shadow: 0px 0px 3px 1px #d5d5d5; */
border:2px dashed #8dbc43;
position:relative;
behavior: url(www.newdriverschools.co.uk/Portals/_default/Skins/NewDriver_new/PIE.htc);
padding: 10px 5px;
margin:10px 0;
display:block;
}

After trying that on Google Chrome dev tools I got this result.

 

cheers,

Aderson

 
Previous
 
Next
HomeHomePremiumPremiumSkinningSkinningDNN 7 Container fails in DNN 8 (SolPartMenu)DNN 7 Container fails in DNN 8 (SolPartMenu)



Try FREE
30 days money back guaranteed