We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 54732
    • 20 Posts
    I am trying to create a sitemap that bases it's results on those pages with the "searchable" parameter checked, rather than if it is shown in the menu. I tried GetResources, but I see no parameter in the documentation to do that. GoogleSiteMap I saw someone said on the forums does, but didn't either. Anyone know how?
      • 33238
      • 388 Posts
      Mate to create sitemaps you can use use the extra "SEO Tab" it gives you control per page for search engines, it's quite good!
        --
        ysanmiguel.com
        • 54732
        • 20 Posts
        Thanks!
          • 3749
          • 24,544 Posts
          I think adding this property to the getResources tag would do it:

          &where=`{"searchable:=":1}`
            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
            • 54732
            • 20 Posts
            Quote from: BobRay at Jan 03, 2019, 10:17 PM
            I think adding this property to the getResources tag would do it:

            &where=`{"searchable:=":1}`

            Thanks!