Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 15 of 15

Thread: Question about Breadcrumbs working on categories.

  1. #1
    POS.com is offline Member
    Join Date
    Oct 2006
    Posts
    92

    Default Question about Breadcrumbs working on categories.

    And its only the categories. The work at the Product level, and also at the Topic level. And Im pretty sure it is something that I did, I just cant figure out what. Any suggestions on where to start looking?
    --
    Daniel
    Performance Off-Road Systems

    -Context over Dogma-

  2. #2
    Jesse is offline Banned
    Join Date
    May 2008
    Posts
    1,329

    Default

    I would start my search in the XMLPackage that those categories are running off of.

  3. #3
    POS.com is offline Member
    Join Date
    Oct 2006
    Posts
    92

    Default

    It appears to be across the board and not restricted to any single category xml package. I have been making some changes to the way the cookies are handled. Could that have any affect on the breadcrumbs?
    --
    Daniel
    Performance Off-Road Systems

    -Context over Dogma-

  4. #4
    Jesse is offline Banned
    Join Date
    May 2008
    Posts
    1,329

    Default

    Yes it could. The chances are that it seems to be across the board however because your XMLPackages for the categories are all the same one. Open it up and find where the breadcrumbs are displayed in the XSLT.

    Or are you talking about the breadcrumbs above the menu in the left nav bar?

  5. #5
    POS.com is offline Member
    Join Date
    Oct 2006
    Posts
    92

    Default

    Sorry. Im talking about the "Now In: Category1 -> SubCatA -> SubSubCat.b ->Product1. If you are at anypoint other than the very root (Now In: Welcome to Store) or at at the very bottom ("Now In: Category1 -> SubCatA -> SubSubCat.b ->Product1), all it shows is "Now In:"


    And I am positive that the categories I tested are not from the same xml package. Our site uses a few different type category packages ranging from the standard grid, to a table type, and a complete custom package. Each type is displaying the above behavior.
    --
    Daniel
    Performance Off-Road Systems

    -Context over Dogma-

  6. #6
    POS.com is offline Member
    Join Date
    Oct 2006
    Posts
    92

    Default

    Ok, still trying to figure out what I did to break this. Ive undone all (I Think) of the cookie related changes that I recently made. Im still not getting any breadcrumbs until I reach the product level.

    In troubleshooting this, I have discovered that the debug setting for entity type xml packages does not seem to have any affect. Is this normal? Or is that something else I have broken? Debug on a product xml package still shows all of the 'runtime data'.
    --
    Daniel
    Performance Off-Road Systems

    -Context over Dogma-

  7. #7
    POS.com is offline Member
    Join Date
    Oct 2006
    Posts
    92

    Default

    Any comment on the debug thing? Anyone?
    --
    Daniel
    Performance Off-Road Systems

    -Context over Dogma-

  8. #8
    POS.com is offline Member
    Join Date
    Oct 2006
    Posts
    92

    Default Still trying to figure this one out.

    In testing, I have blown away my local dev website and 'reinstalled' with fresh code from the downloaded extractor. If I deleted C:\Inetpub\wwwroot (which is were my local IIS looks for the web root) and copied the files from D:\AspDotNetStorefront7100\Web (which is where I unpacked the download), That should be completely stock code, right? Meaning nothing I have done in the past should be in there? IE: completely fresh code, including the compiled .dlls.

    If so, why am I still having this issue where Category breadcrumbs aren't showing up? And since I now have all the entities available, manufacturer breadcrumbs aren't showing up either.
    Last edited by POS.com; 07-07-2008 at 12:06 PM.
    --
    Daniel
    Performance Off-Road Systems

    -Context over Dogma-

  9. #9
    Jesse is offline Banned
    Join Date
    May 2008
    Posts
    1,329

    Default

    There is nothing much I can assist you with on this. Debug attribute on the entity XMLPackages is working perfectly fine locally and we've had no complaints to the contrary. If running the extractor and moving all of the files into the base inet/wwwroot directory results in your having an inet/wwwroot/web, inet/wwwroot/db and inet/wwwroot/wsi directories then yes you have done it correctly.

    Run the script against it in the DB, install your license key, set your DBConn node in the web.config and don't forget to port over your encrypt key. Pretty much follow the directions in the manual for installation and you would be running on stock code. If it's not working on stock code, something is seriously wrong as I just double checked it working on stock code locally here. Fresh install.

  10. #10
    POS.com is offline Member
    Join Date
    Oct 2006
    Posts
    92

    Default

    Quote Originally Posted by ASPDNSF Staff - Jesse View Post
    There is nothing much I can assist you with on this. Debug attribute on the entity XMLPackages is working perfectly fine locally and we've had no complaints to the contrary. If running the extractor and moving all of the files into the base inet/wwwroot directory results in your having an inet/wwwroot/web, inet/wwwroot/db and inet/wwwroot/wsi directories then yes you have done it correctly.

    Run the script against it in the DB, install your license key, set your DBConn node in the web.config and don't forget to port over your encrypt key. Pretty much follow the directions in the manual for installation and you would be running on stock code. If it's not working on stock code, something is seriously wrong as I just double checked it working on stock code locally here. Fresh install.

    Yea, Im trying to narrow down what is going wrong. Ive been thru a support ticket and all of 'my code' works fine over there. So it is something over here. Just trying to figure out what.

    I have even done a new IIS install on a completely different computer but using the my same DB, still no breadcrumbs. Could there be anything in the DB that could cause this?
    --
    Daniel
    Performance Off-Road Systems

    -Context over Dogma-

  11. #11
    POS.com is offline Member
    Join Date
    Oct 2006
    Posts
    92

    Default

    Well, I have narrowed it down to, you guessed it, the DB. Now to figure out what is causing the issue, and fix it.
    --
    Daniel
    Performance Off-Road Systems

    -Context over Dogma-

  12. #12
    POS.com is offline Member
    Join Date
    Oct 2006
    Posts
    92

    Default

    Issue resolved. I restored an earlier db backup and I am once again getting Category breadcrumbs. I still have no idea what caused it, but its fixed.
    --
    Daniel
    Performance Off-Road Systems

    -Context over Dogma-

  13. #13
    Karl is offline Junior Member
    Join Date
    Dec 2008
    Location
    England
    Posts
    3

    Default The cause

    I came across this problem a view days ago. The breadcrumbs "disappear" when you change the app config value for "CacheEntityPageHTML" from false to true. I haven't figured out a solution yet. Just to set the app config to false again and everything works fine.

  14. #14
    kbarkhausen is offline Junior Member
    Join Date
    Aug 2009
    Posts
    5

    Default Code fix for problem breadcrumbs

    You can fix the dissapearing breadcrumb problem by making the following code change:

    (Webroot)/App_Code/ShowEntityPage.cs : 263

    m_SkinBase.SectionTitle = (String)HttpContext.Current.Cache.Get(CacheName + "|SectionTitle");

    Replace it with:

    string NewSectionTitle = (String)HttpContext.Current.Cache.Get(CacheName + "|SectionTitle");
    if (NewSectionTitle != null && NewSectionTitle.Trim().Length > 0)
    m_SkinBase.SectionTitle = NewSectionTitle;

    This solves the problem and you can still cache the Entity Page Html.

  15. #15
    osdude is offline Senior Member
    Join Date
    Nov 2007
    Location
    earth
    Posts
    202

    Default

    Ah ha! I've been wracking my brain trying to figure out what is happening with the breadcrumbs and cache. Will try the fix a little later.