We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22815
    • 1,097 Posts
    I have just realised that a search for say "snippet" on the MODx search pulls up pages from the repository as well as pages from the documentation.

    Can we
    a) Exclude Repo items from that search
    or
    b) Have a dedicated documentation search, and have the MODx general search results page suggest repeating the query in just the Documentation, Repository or Forum search?

    There’s been a surge in newbie questions again, even people claiming it’s unreasonable to expect people to know basic concepts like "snippet". I don’t want any excuses for not finding the documentation.
      No, I don't know what OpenGeek's saying half the time either.
      MODx Documentation: The Wiki | My Wiki contributions | Main MODx Documentation
      Forum: Where to post threads about add-ons | Forum Rules
      Like MODx? donate (and/or share your resources)
      Like me? See my Amazon wishlist
      MODx "Most Promising CMS" - so appropriate!
      • 36747
      • 138 Posts
      a bit off topic, but if you search "snippet" you will get

      Your query was not specific enough. Try using larger words, or less common phrases.

      In my opinion the SMF search function sucks. Even if I get 2 million results, Im looking for "snippet" and I want my results!

      Off topic end
        patagonia, argentina
        • 22815
        • 1,097 Posts
        I was of course talking about the main site not SMF, but I have a solution for eemi.

        Search for snippet.
        Click Search again.

        This works because you’re then searching the whole forum, not just the forum you were in.

        And because the search refuses to pull up one unique phrase, you’re also increasing the chances of finding a post within the forum you were in!!

        But anyway. Can we exclude Repo items from the MODx site search?


          No, I don't know what OpenGeek's saying half the time either.
          MODx Documentation: The Wiki | My Wiki contributions | Main MODx Documentation
          Forum: Where to post threads about add-ons | Forum Rules
          Like MODx? donate (and/or share your resources)
          Like me? See my Amazon wishlist
          MODx "Most Promising CMS" - so appropriate!
          • 22303 MODX Staff
          • 10,725 Posts
          Also, as mentioned in some other obscure places here in the forums, a google search using...

          site:modxcms.com snippet


          is a much quicker way to search the site, and almost always returns a lot more relevant results than the SMF search.
            • 25663 MODX Staff
            • 12,272 Posts
            Why don’t we just replace everything with google search boxes instead of the built-in crap?
              Ryan Thrash, MODX Co-Founder
              Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
              • 6726
              • 7,075 Posts
              Personnally, I use a favlet to search the MODx forums, based on something written up by someone @Textpattern’s :

              javascript:void(str=prompt('Search MODx Forums'));if(str){location.href='http://www.google.com/search?q=site:Ahttp://modxcms.com/forums/+'+str;}


              I shared this a while back, but yeah why not add Google search instead of built-in SMF search...

              or something like Sphider (lots of things on our plate already, but since I am here : I remember we talked about integrating this one as MODx search, still on the agenda, in the long run ?)
                .: COO - Commerce Guys - Community Driven Innovation :.


                MODx est l'outil id
                • 22815
                • 1,097 Posts
                Well, ok. But surely that ends up pulling stuff from all corners of the site - my original post is asking for a search that ignores Repo items. Or at least makes a clearer distinction between the two.

                I’d rather the main MODx site used a MODx search. I think it’s good to demo what MODx can do.
                  No, I don't know what OpenGeek's saying half the time either.
                  MODx Documentation: The Wiki | My Wiki contributions | Main MODx Documentation
                  Forum: Where to post threads about add-ons | Forum Rules
                  Like MODx? donate (and/or share your resources)
                  Like me? See my Amazon wishlist
                  MODx "Most Promising CMS" - so appropriate!