Hello,
at first: sorry for my bad english!
Im a bloody noob in using DNN. I creating me some html skins for my DNN portal. But now i want to try an .ascx file as skin file and when i use the "ascx skin" i will get this error:
"Could Not Load Skin: /Portals/_default/Skins/QualliMain-Skins/test.ascx, Error: The directive 'page' is unknown."
This is my code:
<%@ Page Language="VB" AutoEventWireup="false" Explicit="True" Inherits="DotNetNuke.UI.Skins.Skin" %>
<%@ Register TagPrefix="dnn" TagName="Login" Src="~/Admin/Skins/Login.ascx" %>
<%@ Register TagPrefix="dnn" TagName="Copyright" Src="~/Admin/Skins/Copyright.ascx" %>
<link href="test.css" rel="stylesheet" type="text/css" />
<div class="DNNCenterDiv">
<div id="MainDiv">
<object id="ControlPanel" codetype="dotnetnuke/server" codebase="CONTENTPANE">
</object>
<ul class="HeadUl">
<li class="topHead">
<dnn:Login runat="server" id="dnnLogin" />
| <a href="LinkClick.aspx">Impressum</a> | <a href="LinkClick.aspx">Support</a></li>
<li class="topAppChangeOnline"></li>
</ul>
<div class="ContentAreaDiv">
<div class="definhalt">
<div class="contentpane1" runat="server" id="ContentPane">
</div>
<div class="contentpane2" runat="server" id="ContentPane2">
</div>
<div class="contentpane3" runat="server" id="ContentPane3">
</div>
<div class="clear">
</div>
</div>
<ul class="footerUl">
<li><a href="/cms/Default.aspx?tabid=96" class="FBForumOnline">Forum</a></li>
<li><a href="http://www.nistech.de" target="_blank" class="FBNistechOnline">Nistech
GmbH</a></li>
<li><a href="/cms/Default.aspx?tabid=104" class="FBtvOnline">Premium</a></li>
<li><a href="/cms/Default.aspx?tabid=106" class="FBdlsOnline">Downloads</a></li>
<li class="FCopyOnline">
<dnn:Copyright runat="server" id="dnnCopyright" /></li>
</ul>
</div>
</div>
</div>
Thanks for answers.