We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 19872
    • 1,078 Posts
    I was just noticing that pdoSitemap only seems to be listing out the main menu navigation links.

    I have a directory containing resources that I think would be helpful to also be included in the sitemap. The links to these resources are from a page with a pdoResources call that lists a few of the TV values from each resource.

    Is there a way to have pdoResource list those as well in the sitemap?

    These resources are published, but hidden from the main navigation menu.

    This question has been answered by AMDbuilder. See the first response.

    • discuss.answer
      • 1343 ☆ A M B ☆
      • 2,213 Posts
      You should be able to use the same properties from Google SiteMap (http://rtfm.modx.com/extras/revo/googlesitemap/googlesitemap.googlesitemap)
        Patrick | Server Wrangler
        About Me: Website | Tweets |  MODX Hosting
        • 19872
        • 1,078 Posts
        I was just heading there to review, amongst other things related to going live with a site—hosted at Skytoaster of course!

        Thanks Patrick.
          • 1343 ☆ A M B ☆
          • 2,213 Posts
          Let me know if you can't figure it out, and thanks for choosing to host with us as well!
            Patrick | Server Wrangler
            About Me: Website | Tweets |  MODX Hosting
            • 19872
            • 1,078 Posts
            OK. Thought I had this figured out using $showHIdden=`true` except that there is one grouping with no url. And of course, google is stating: This is not a valid URL. Please correct it and resubmit.

            Whats the best way to figure out what file that is so I can troubleshoot?

            The only thing I can think is that perhaps I have a missing alias? Though MODx seems to auto populate the alias field.

            Anyone have any ideas?

              • 19872
              • 1,078 Posts
              Figured it out in case anyone else has this issue. Had a duplicate alias.
                • 28042 ☆ A M B ☆
                • 24,524 Posts
                I got a SiteCheck license, which is good for all sites the licensee works on. I run it from time to time when developing or if content is added, just to make sure all is still well. http://bobsguides.com/sitecheck-tutorial.html
                  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
                  • 19872
                  • 1,078 Posts
                  Thanks Susan, I may need to get a copy.

                  Odd that MODx allowed me to have two identical alias names. Though, they are inside different directories. But even so, pdo should have been able to get the path to the file. May have simply just been a little hiccup, and by actually updating the alias and saving the resource fixed the issue.

                  I'll need to be careful moving forward. It may be that my methods for constructing my site structure could use improvement. Though, I feel like I've made major leaps with MODx during this project–which is great. With the help of lots of terrific forum members such as yourself of course. Thank you.