xslt to create a breadcrumb trail in UL and LI tags

fuelishways's Avatar

fuelishways

Jul 19, 2011 @ 11:08 PM

Does anyone have a sample xslt stylesheet that creates UL and LI tags for the folder names?

  1. 1 Posted by Amy on Jul 20, 2011 @ 05:47 AM

    Amy's Avatar

    Here's one that is now included with our distribution default database. Hope it helps!

  2. 2 Posted by fuelishways on Jul 20, 2011 @ 03:12 PM

    fuelishways's Avatar

    Thanks for the file. When i use the settings in the index block that it asks for, I get nothing returned in the html. When i use "render normal", then I get what looks like the correct breadcrumbs, but the links behind them don't actually go to the correct folder.

  3. 3 Posted by Amy on Jul 20, 2011 @ 03:32 PM

    Amy's Avatar

    Are you able to attach the Index Block XML for the screen shot you attached (for hierarchy with sibling)?

  4. 4 Posted by fuelishways on Jul 20, 2011 @ 04:50 PM

    fuelishways's Avatar

    This is the message I receive for that block:
    <page-required-to-render-this-index-block/>

  5. 5 Posted by Amy on Jul 20, 2011 @ 05:03 PM

    Amy's Avatar

    Sorry, I should have known it would say that.

    Please see this page to see how you can view the XML of a relative Index Block and attach that.

    Thank you!

  6. 6 Posted by fuelishways on Jul 20, 2011 @ 09:11 PM

    fuelishways's Avatar

    Here is the xml

  7. 7 Posted by Amy on Jul 22, 2011 @ 03:00 AM

    Amy's Avatar

    hmm, sorry for the slow response but I can't seem to figure out how you got this XML. It says this Index Block is named "Site Settings". Is this the block that's assigned to the breadcrumbs region? The XML that you've attached doesn't really match up with the settings in your screenshot. Namely, this XML has both "Append Calling Page Data" and "Render page XML inline" checked.

  8. 8 Posted by fuelishways on Jul 22, 2011 @ 03:03 PM

    fuelishways's Avatar

    amy, here is what i'm getting in the xml window with the instructions you provided.

  9. 9 Posted by Amy on Jul 22, 2011 @ 03:46 PM

    Amy's Avatar

    When the HTML preview gets rendered instead of XML, it's typically browser-related. Would you happen to be using Chrome? Can you right-click on it and do "View Frame Source"?

    I'm also happy to jump on a call in a couple hours and do a screen-sharing session to help get this resolved today if you're available. Is there a time that works for you after 1pm EST? I can set up GoToMeeting from my end and switch presenters to see your screen once we get on the phone. I can also just log in to your instance on my own if you're able to create a temporary account for me. Please let me know if you would like to pursue either of those options or we can continue to try and figure this out on here.

    Thanks!

  10. 10 Posted by fuelishways on Jul 22, 2011 @ 03:51 PM

    fuelishways's Avatar

    yes, i can be available at 1p. I can't get you a temp account. thank you.

  11. Amy closed this discussion on Oct 14, 2011 @ 02:38 PM.

Discussions are closed to public comments.
If you need help with Cascade CMS please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac