Welcome to Mediachase Community Sign in | Join | Help    
in Search   

Problem with the tutorial, Flowers template page 58

Last post Tue, Dec 05 2006, 4:10 PM by planetx. 6 replies.
Sort Posts: Previous Next
  •  Tue, Dec 05 2006, 8:25 AM 4353

    Problem with the tutorial, Flowers template page 58

    I have completed everything up to the flowers tutorial and have ran into this error. I have also tried the new flowerstemplate.aspx you have given inthe posts prior.

     

    Server Error in '/PublicStore' Application.

    Parser Error

    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

    Parser Error Message: Unknown server tag 'ecf:MetaImage'.

    Source Error:

    Line 2:         <tr valign=top>
    Line 3:              <td>
    Line 4:                    <ecf:MetaImage ImageWidth="180" OpenFullImage="true" ShowThumbImage="true" ID="PrimaryImage"     
    Line 5:                                   PropertyName="Everything_ProductPrimaryImage" DataSource="<%#Product.ItemAttributes.Image%>" 
    Line 6:                                    runat="server" />

    Source File: /PublicStore/MasterTemplates/RPS/Theme/Product/FlowersTemplate.ascx    Line: 4

  •  Tue, Dec 05 2006, 9:21 AM 4355 in reply to 4353

    Re: Problem with the tutorial, Flowers template page 58

    Hi,

    Can you post your entire code from the very first line to the very last?   This will give me a better idea of what is going on.   Thanks!

    Tim O'Brien

  •  Tue, Dec 05 2006, 10:55 AM 4356 in reply to 4355

    Re: Problem with the tutorial, Flowers template page 58

     <table cellpadding="3" width=100% cellspacing="0" border=0 id="Table1">
           <tr valign=top>
                <td>
                      <ecf:MetaImage ImageWidth="180" OpenFullImage="true" ShowThumbImage="true" ID="PrimaryImage" PropertyName="Everything_ProductPrimaryImage" DataSource="<%#Product.ItemAttributes.Image%>" runat="server" />
       
                                     <uc1:ImagesModule EnableViewState="false" ID="AlternativePictures" DataSource="<%#Product.Pictures%>" runat="server" />
      
                                    <br/>  
                             </td>
                   
                             <td width=100%>
         <p>
         <h1><ecf:SimpleEditor ID="SimpleEditor4" runat="server" PropertyName="Name" DataSource="<%# Product%>" IdType="Product"></ecf:SimpleEditor></h1>
                                    <ecf:SimpleEditor runat="server" ID="SimpleEditor1" PropertyName="Everything_ShortDescription" DataSource="<%# Product%>" IdType="Product"></ecf:SimpleEditor>  
          <div class=ch1> <ecf:SimpleEditor runat="server" ID="SimpleEditor3" PropertyName="Everything_Description" DataSource="<%# Product%>" IdType="Product"></ecf:SimpleEditor></div>
                       <uc1:PurchaseModule id="PurchaseCtrl" OptionFields="Everything_BouquetType" Product='<%#Product%>' runat="server" />
       
                </td>
        </tr>
     </table>
     <br/>
     <br/>
  •  Tue, Dec 05 2006, 11:35 AM 4357 in reply to 4356

    Re: Problem with the tutorial, Flowers template page 58

    Hi,

    I'm sorry, I should've been more clear.  Can you post for me the entire code, including the registering of controls at the very top?   Also, what version of ECF are you running?

    For example:

    <%@ Control Language="c#" AutoEventWireup="false" Inherits="Mediachase.eCF.Web.BaseClasses.ProductBase" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
    <%@ Register Src="~/SharedModules/ImagesModule.ascx" TagName="ImagesModule" TagPrefix="uc1" %>
    <%@ Register Src="~/SharedModules/EditorModules/SimpleEditor.ascx" TagName="SimpleEditor" TagPrefix="ecf" %>
    <%@ Register Src="~/SharedModules/PurchaseModule.ascx" TagName="PurchaseModule" TagPrefix="uc1" %>
    <%@ Register Namespace="Mediachase.eCF.Web.UI.Controls" Assembly="Mediachase.eCFWebUtility" TagPrefix="ecf" %>

    <script language="C#" runat="server">
    void Page_Load(Object sender, EventArgs e)
    {
     DataBind();
        foreach (UserControl ctrl in PurchaseCtrl.FindControl("ProductOptions").Controls)
        {
            ((DropDownList)ctrl.FindControl("OptionValueCtrl")).Width = 100;
        }


     if(!IsPostBack)
     {
     }
    }
    override protected void OnInit(EventArgs e)
    {
     this.Load += new System.EventHandler(this.Page_Load);
     base.OnInit(e);
    }
    </script>

       <table cellpadding="3" width=100% cellspacing="0" border=0 id="Table1">
           <tr valign=top>
                <td>
                      <ecf:MetaImage ImageWidth="180" OpenFullImage="true" ShowThumbImage="true" ID="PrimaryImage"    
                                     PropertyName="Everything_ProductPrimaryImage" DataSource="<%#Product.ItemAttributes.Image%>"
                                      runat="server" />
        
                                     <uc1:ImagesModule EnableViewState="false" ID="AlternativePictures" DataSource="<%#Product.Pictures%>"
                                     runat="server" />
       
                                    <br/>   
                             </td>
                   
                             <td width=100%>
         <p>
         <h1><ecf:SimpleEditor ID="SimpleEditor4" runat="server" PropertyName="Name" DataSource="<%# Product%>" IdType="Product"></ecf:SimpleEditor></h1>
                                    <ecf:SimpleEditor runat="server" ID="SimpleEditor1" PropertyName="Everything_ShortDescription"
                                      DataSource="<%# Product%>" IdType="Product"></ecf:SimpleEditor>  
          <div class=ch1> <ecf:SimpleEditor runat="server" ID="SimpleEditor3" PropertyName="Everything_Description"                         
                                      DataSource="<%# Product%>" IdType="Product"></ecf:SimpleEditor></div>  
        
                       <uc1:PurchaseModule id="PurchaseCtrl" OptionFields="Everything_BouquetType" Product='<%#Product%>'
                                       runat="server" />
        
                </td>
        </tr>
     </table>
     <br/>
     <br/>

  •  Tue, Dec 05 2006, 2:03 PM 4358 in reply to 4357

    Re: Problem with the tutorial, Flowers template page 58

    You were clear in what you asked, I just didn't read it. But thank you for your help I was able to fix my issue after closer look I had a typo. Thanks for replying.
  •  Tue, Dec 05 2006, 2:17 PM 4359 in reply to 4358

    Re: Problem with the tutorial, Flowers template page 58

    Good News!  Thanks for the update.   Would you mind telling me what the typo was?  I'm just curious cause I can't seem to see it...
  •  Tue, Dec 05 2006, 4:10 PM 4360 in reply to 4359

    Re: Problem with the tutorial, Flowers template page 58

    It was the code above the html, I pasted the html with a ctrl+v and I had a 'v' in there... Just a case of fat fingers, thanks for your help.
View as RSS news feed in XML
Site Terms | Privacy Policy | About Us | Contact Us
Running on Mediachase eCommerce Framework 4.0.
  Copyright © Mediachase, LTD. 1997-2006. All Rights Reserved

E-commerce, HelpDesk, Service Desk & Project Management Software, alternatives to Microsoft Project Server & Sharepoint Collaboration Server
project management software | microsoft project server | sharepoint collaboration server | issues management, helpdesk & service desk
Powered by Community Server, by Telligent Systems