Version ML 9.0.1.1/9.0.1.1
I would like to add pages with content - no products just my own content. For example an article about our store - article.aspx?
What are my options?
So far I tried:
Create my own simple master page and an aspx page based on that. If I leave Inherits="AspDotNetStorefront.MasterPageBase" in the page directive like in the template.master, the aspx page fails on this line
return (this.Page as SkinBase).RequireScriptManager;
in Web\App_Code\MasterPageBase.cs Line: 212 so I guess there is much to be done if I want to have the same functionality as in template.master. If I take this line out it works but then references to images such as the menu tab-sep.gif is wrong and to move the gif to the skin area, also the reference to the css file did not happen as explained in pdf guide and I had to uncomment the <link ... as I assume that the base class does some changes to the path.
So what are my options? Is there a document that explain what I need to include in an aspx that is uses template.master and what is the minimum that needs to be in code behind to take advantage of the masterbase?
Should I just forget about it and continue with my simpler master and pages based on it and loose probably some of the features applied in the initial sample pages?
Other options?
Thanks
-----------------------
Here is the top part of the master I am testing with
<%@ Master Language="C#" AutoEventWireup="true" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register TagPrefix="aspdnsfc" Namespace="AspDotNetStorefrontControls" Assembly="AspDotNetStorefrontControls" %>
<%@ Import Namespace="AspDotNetStorefrontCore" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<%-- compatibility mode with ie8 to prevent the aspnet menu to render blank dropdowns --%>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<%-- Leave the title empty, it will get populated at runtime --%>
<title></title>
<%-- Leave the description and keyword content empty, it will get populated at runtime --%>
<meta name="description" content="">
<meta name="keywords" content="">
<%-- The skin ref will base on the current theme applied so we don't need to declare here which css file to use --%>
<link runat="server" rel="stylesheet" href="~/App_Themes/skin_1/style.css" type="text/css">
<script type="text/javascript" src="jscripts/core.js"></script>
<asp:Literal ID="ltrBuySafeJsURL" runat="server" Text='<%$ Tokens:BuySafeJsUrl %>' />
</head>
<body>
<form id="form1" runat="server">
<asp:Literal ID="ltrPageInfo" runat="server" Text='<%$ Tokens:PageInfo %>' />
<div id="login">
<span id="userName"><asp:Literal ID="ltrUserName" runat="server" Text='<%$ Tokens:UserName %>' /></span><span id="loginText"><a href='<asp:Literal ID="Literal1" runat="server" Text="<%$ Tokens:SignInOut_Link %>" />'><asp:Literal ID="ltrSignInOutText" runat="server" Text='<%$ Tokens:SignInOut_Text %>' /></a></span>
</div>
...
------------------------
Here is the simple aspx using the master
<%@ Page Language="c#" MasterPageFile="~/App_Templates/Skin_1/aju.master" %>
<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="PageContent">
<asp:Panel ID="pnlContent" runat="server" >
This and that
</asp:Panel>
</asp:Content>