We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28033
    • 925 Posts
    I know some of the sitemap scripts here have an issue where they can’t generate entries when published documents are children of unpublished documents.

    Would I have to manually create a script that make one, or is there one already out there that doesn’t have that flaw?

    I’ll also need to ignore specific pages that are used for redirecting.
      My Snippets
      -> PopUpChunk v1.0
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Breadcrumbs has &pathThruUnPub that will see through unpublished documents, while skipping the unpublished document.

      ListSiteMap also http://modxcms.com/forums/index.php/topic,6495.msg196342.html#msg196342

      Some people have also used Ditto; you could easily enough use a filter to exclude the ones you don’t want listed. Of course, Ditto doesn’t do nested lists, but whether or not that’s bad would depend on the design of your sitemap.

      Or you could do some slight-of-hand with the Show in Menu flag, respecting it in your sitemap and not in the Wayfinder call for your menus.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 28033
        • 925 Posts
        http://modxcms.com/forums/index.php/topic,13698.0.html

        Decided to use that, although I made some minor tweaks on my version to get it working for my setup.

        Thanks for pointing me in the Ditto direction. Made this *so* much easier. ^.^
          My Snippets
          -> PopUpChunk v1.0