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.
-
☆ 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.