in

dashCommerce

An ASP.NET Open Source e-Commerce Application

Site Navigation - Breadcrumbs

Last post 11-20-2008 12:33 PM by Designbyonyx. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 08-25-2008 5:10 PM

    Site Navigation - Breadcrumbs

    Is there a way to add site level breadcrumbs to the top of a page?

    I tried using the same syntax from the Catalog breadcrumbs (catalog.aspx) and binding the menu to the siteNavigation.xslt ... to no avail:

     
    <asp:Menu ID="menuCrumbs" runat="server" SkinID="breadcrumbs" DataSourceID="xmlDataSource" Orientation="Horizontal" StaticDisplayLevels="1">
          <DataBindings>
                 <asp:MenuItemBinding DataMember="MenuItem" NavigateUrlField="NavigateUrl" TextField="Text" ValueField="Value" ToolTipField="ToolTip" />
          </DataBindings>
    </asp:Menu>
    <asp:XmlDataSource ID="xmlDataSource" TransformFile="~/transforms/siteNavigation.xslt" XPath="MenuItems/MenuItem" runat="server" />

     

    Any help would be greatly appreciated.

    Filed under: , ,
  • 11-20-2008 2:55 AM In reply to

    Re: Site Navigation - Breadcrumbs

     r u able to do that , i am also trying similar thin, if u r able to do it plz  let me know

  • 11-20-2008 12:33 PM In reply to

    Re: Site Navigation - Breadcrumbs

     Hey I posted that when I was very new to dashCommerce.  I still have not yet accomplished this task, but I am pretty sure it would involve the following steps:

    1) Create a stored procedure much like the one that fetches the category crumbs (use dashCommerce_Store_FetchCategoryBreadCrumbs as reference)

    2) Regenerate all of the Subsonic stuff

    3) Create the proper methods in Content/Controllers/PageController.cs (use Store/Controllers/CategoryController.cs as reference)

    4) Wire everything together

    Sorry I can't give you specifice code.  As soon as I get this, I will post it here and will attempt to submit a patch (it needs to be in the base build).  Just be aware that I am not actively working on this at the moment... so don't wait up all night for me to finish ;)

     ~Ryan

Page 1 of 1 (3 items)