I was trying to add my container another ascx container, using the install page (i added it to the zip, when navigated "install resources"). I made a clear container:
<%@ Control language="vb" CodeBehind="~/admin/Skins/skin.vb" AutoEventWireup="false" Explicit="True" Inherits="DotNetNuke.UI.Skins.Skin" %> <%@ Register TagPrefix="dnn" TagName="ACTIONS" Src="~/Admin/Containers/SolPartActions.ascx" %> <%@ Register TagPrefix="dnn" TagName="ICON" Src="~/Admin/Containers/Icon.ascx" %> <%@ Register TagPrefix="dnn" TagName="TITLE" Src="~/Admin/Containers/Title.ascx" %> <%@ Register TagPrefix="dnn" TagName="VISIBILITY" Src="~/Admin/Containers/Visibility.ascx" %> <%@ Register TagPrefix="dnn" TagName="ACTIONBUTTON5" Src="~/Admin/Containers/ActionButton.ascx" %> <%@ Register TagPrefix="dnn" TagName="ACTIONBUTTON1" Src="~/Admin/Containers/ActionButton.ascx" %> <link rel="stylesheet" type="text/css" href="<%= SkinPath %>container.css"> <TABLE class="containermaster_clear" cellSpacing="0" cellPadding="5" align="center" border="0"> <TR> <TD id="ContentPane" runat="server" align="center"></TD> </TR> <TR> <TD> <TABLE border="0" cellpadding="0" cellspacing="0"> <TR> <TD align="left" valign="middle" nowrap><dnn:ACTIONBUTTON1 runat="server" id="dnnACTIONBUTTON1" /></TD> <TD align="right" valign="middle" nowrap></TD> </TR> </TABLE> </TD> </TR> </TABLE> <BR/>
which is without a "title". It used the same CSS file as another working continer in this page:
/* ================================ Container Styles for DotNetNuke ================================ */
.containermaster_compass { background-color:#FFFFFF; } .containerrow1_compass { background-image: url("home-title-blue-pixel.jpg"); background-repeat:repeat-x; text-align:right;
} .containerrow2_compass { background-color: #ffffff; } .head{ color:#FFFFFF; font-family: Arial, Arial (Hebrew), David (Hebrew), Courier New (Hebrew); font-size: 14px; font-weight:bold; text-align:right; } .compass_text{ font-family: Arial, Arial (Hebrew), David (Hebrew), Courier New (Hebrew); text-align:right; }
.containermaster_clear { background-color:#FFFFFF; } .containerrow1_clear { background-repeat:repeat-x; text-align:right;
} .containerrow2_clear { background-color: #ffffff; }
.clear_text{ font-family: Arial, Arial (Hebrew), David (Hebrew), Courier New (Hebrew); text-align:center; }
After i uploaded it there were some errors ("unhandled errors"). Note: I used this continer inly to onw continer in the page (among of others).
So i tried to replcase the new continer code with the working continer code, because i wanted to change it step by step untill i figure what i did wrong.
But then i got: Service unavilibile. Since i can't check it its a server problem (although im logged to it, so its hard to believe to be a server problem) - i'd like to know if anytthing from what i've done above could have caused it ??.... |