We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 37059
    • 368 Posts
    I see that the Breadcrumbs snippet for Revo displays the path of the current document, not to the path take by the user to reach that document. Any way to achieve the latter? Thanks.
      Jason
      • 3749
      • 24,544 Posts
      Quote from: kenquad at Sep 20, 2010, 01:11 PM

      I see that the Breadcrumbs snippet for Revo displays the path of the current document, not to the path take by the user to reach that document. Any way to achieve the latter? Thanks.
      Not with the snippet. It bases the path on the Resource tree. You’d have to write your own plugin or snippet that added the current URL to a $_SESSION variable and used that to produce the breadcrumbs. It could get pretty messy if the user wanders around a lot. wink
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 37059
        • 368 Posts
        Thanks for the reply. If I developed such a snippet I would limit it to a certain number of items, e.g. "home ... > third page you visited > fourth page you visited > etc"

        For the current small site I am developing, it will probably be easier to simply work it up manually for certain pages where I need it.
          Jason