Hi lee,
I have been working on sIFR and DotNetNuke – Video Tutorial, andI ran into some problems
The main problem involves javascript, video 5. I follow the tutorial copied and paste the code from sIFR folder to my default file and made the appropriate changes and I get this error from vwd debugger which points to
Page.Header.Controls.AddAt(0, New LiteralControl(Comment)) line 145 in the default.aspx.vb
Here is a copy of my default file:
<%@ Page Language="vb" AutoEventWireup="false" Explicit="True" Inherits="DotNetNuke.Framework.DefaultPage" CodeFile="Default.aspx.vb" %>
<%@ Register TagPrefix="dnn" Namespace="DotNetNuke.Common.Controls" Assembly="DotNetNuke" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<head id="Head" runat="server">
<meta id="MetaRefresh" runat="Server" name="Refresh" />
<meta id="MetaDescription" runat="Server" name="DESCRIPTION" />
<meta id="MetaKeywords" runat="Server" name="KEYWORDS" />
<meta id="MetaCopyright" runat="Server" name="COPYRIGHT" />
<meta id="MetaGenerator" runat="Server" name="GENERATOR" />
<meta id="MetaAuthor" runat="Server" name="AUTHOR" />
<meta name="RESOURCE-TYPE" content="DOCUMENT"/>
<meta name="DISTRIBUTION" content="GLOBAL"/>
<meta name="ROBOTS" content="INDEX, FOLLOW"/>
<meta name="REVISIT-AFTER" content="1 DAYS"/>
<meta name="RATING" content="GENERAL"/>
<meta http-equiv="PAGE-ENTER" content="RevealTrans(Duration=0,Transition=1)"/>
<style id="StylePlaceholder" runat="server"></style>
<asp:placeholder id="CSS" runat="server"></asp:placeholder>
<script src="<%= Page.ResolveUrl("js/dnncore.js") %>"></script>
<script src="<%= Page.ResolveUrl("js/sifr.js") %>" type="text/javascript"></script>
<script src="<%= Page.ResolveUrl("js/sifr-addons.js") %>" type="text/javascript"></script>
</head>
<body id="Body" runat="server" bottommargin="0" leftmargin="0" topmargin="0" rightmargin="0" marginwidth="0" marginheight="0">
<noscript></noscript>
<dnn:Form id="Form" runat="server" ENCTYPE="multipart/form-data" style="”height: 100%;">
<asp:Label ID="SkinError" runat="server" CssClass="NormalRed" Visible="False"></asp:Label>
<asp:PlaceHolder ID="SkinPlaceHolder" runat="server" />
<input id="ScrollTop" runat="server" name="ScrollTop" type="hidden">
<input id="__dnnVariable" runat="server" name="__dnnVariable" type="hidden">
</dnn:Form>
</body>
</html>