Programming/Coding additional features
Posted: Tue Jan 13, 2009 4:55 pm
I am looking at the demo version.
I was getting ready to buy and I decided to look at the source code.
What I found was *no* source code.
For instance going to the login page. Here I would like to add when they sign up a dropdown that asks "how they heard about the site" and store it in a table.
So I goto look and see hardly any code.
Is all I see? No code-behind file. Nothing else.
The cb:scriptletpart refers to the CommerceBuilder.Web dll. I was told by Fred, online helper, this is part of the API and that it is not included in the source that is released.
The whole Front end to the user part of the site is this way..
So, basically either I use their stuff as is, Or I have to write from scratch the page again?
This doesn't make sense to me and maybe I am missing something. But why say you get source code when all you are getting are assembly references to their UI/database areas.
Any input on this puzzling matter to me is truly appreciated
Angela
I was getting ready to buy and I decided to look at the source code.
What I found was *no* source code.
For instance going to the login page. Here I would like to add when they sign up a dropdown that asks "how they heard about the site" and store it in a table.
So I goto look and see hardly any code.
Code: Select all
<%@ Page Language="C#" MasterPageFile="~/Layouts/Scriptlet.master" Inherits="CommerceBuilder.Web.UI.AbleCommercePage" Title="Login or Register" %>
<%@ Register Assembly="CommerceBuilder.Web" Namespace="CommerceBuilder.Web.UI.WebControls.WebParts" TagPrefix="cb" %>
<script runat="server">
protected void Page_Init(object sender, EventArgs e)
{
string returnUrl = Request.QueryString["ReturnUrl"];
if (!string.IsNullOrEmpty(returnUrl))
{
if (returnUrl.ToLowerInvariant().Contains("/admin/"))
{
Response.Redirect(NavigationHelper.GetAdminUrl("Login.aspx?ReturnUrl=" + Server.UrlEncode(returnUrl)));
}
}
}
</script>
<asp:Content ID="ScriptletContent" ContentPlaceHolderID="PageContent" Runat="Server">
<cb:ScriptletPart ID="Login" runat="server" Layout="One Column" Header="Standard Header" Content="Login Page" Footer="Standard Footer" Title="Login or Register" AllowClose="False" AllowMinimize="false" />
</asp:Content>
The cb:scriptletpart refers to the CommerceBuilder.Web dll. I was told by Fred, online helper, this is part of the API and that it is not included in the source that is released.
The whole Front end to the user part of the site is this way..
So, basically either I use their stuff as is, Or I have to write from scratch the page again?
This doesn't make sense to me and maybe I am missing something. But why say you get source code when all you are getting are assembly references to their UI/database areas.
Any input on this puzzling matter to me is truly appreciated

Angela