We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24731 ☆ A M B ☆
    • 211 Posts
    Hi all, is there a way to have a search landing page where I can send in variables in the link I use to request it so I can link to any search result page from anywhere?

    so lets say my search result page is id=50 I could make links like:

    http://.../index.php?id=50&searchword=somekeyword

    then the search engine will fetch the available results and display?

    Regards,
    Jose R. Lopez
      • 30639
      • 22 Posts
      Quote from: TrinitySEM at May 11, 2007, 08:47 PM

      I was going through my 0.9.5 installation’s headers and I noticed a 404 on the following:

      GET /assets/snippets/AjaxSearch/search.gif HTTP/1.1

      I searched the code and the html and js and I’m not finding a call to search.gif

      I’m wondering if anyone knows what might be causing this?

      Thanks for the help!

      Anybody have an idea on this one?
        • 33372
        • 1,611 Posts
        Quote from: redstormj at May 16, 2007, 05:39 PM

        Hi all, is there a way to have a search landing page where I can send in variables in the link I use to request it so I can link to any search result page from anywhere?

        so lets say my search result page is id=50 I could make links like:

        http://.../index.php?id=50&searchword=somekeyword

        then the search engine will fetch the available results and display?
        I would imagine you could just add

        if(isset($_GET['search']) && !(isset($_POST['search']))) $_POST['search']=$_GET['search'];


        to the top of the snippet code to do that.

        Then you could just use http://.../index.php?id=50&search=somekeyword (where index.php?id=50 is your search landing page).

        I haven’t tested this, but I don’t see why it wouldn’t work...
          "Things are not what they appear to be; nor are they otherwise." - Buddha

          "Well, gee, Buddha - that wasn't very helpful..." - ZAP

          Useful MODx links: documentation | wiki | forum guidelines | bugs & requests | info you should include with your post | commercial support options
          • 30884
          • 142 Posts
          Is there the ability to search Template Variables? I’ve got a setup where I’ve got a drop down TV I’d like to have searched and picked up etc. Any pointers?
          cheers

          TXRX
            p i x e l p u s h e r e x t r o d i n a i r e
            A x i s A n i m a t i o n . c o m
            • 7923
            • 4,213 Posts
            heliotrope should have tvexplorer available pretty soon, it can search from tvs.


              "He can have a lollipop any time he wants to. That's what it means to be a programmer."
              • 11975
              • 2,542 Posts
              Hi folks,

              Thx Doze for speaking about tvexplorer.

              I’ve almost finished tvexplorer but haven’t finished the module tveditor.

              @TXRX: If you’re interested in testing tvexplorer, let me know by sending me a PM.
              I will send you the source and will help you to create your first form.

              :-)
                Made with MODx : [url=http://www.copadel.com]copadel, fruits et l
                • 8619
                • 229 Posts
                Ok, strange problem just cropped up on my site....Not real sure what is going on, but the "searching" image is spinning, and the stop button is showing at all times.

                I am running 0.9.5 with AS 1.6 and you can see the site here:

                http://www.ejcross.com

                Got me stuck as it just showed up last night when I finally got FURLS to work right.
                  • 20102
                  • 4 Posts
                  rolleyes

                  search is not finding a simple word that is used repeatedly throughout the site.

                  but it searches for default value once you click on it after being clicked a first time....


                  any suggestions?
                    • 20289
                    • 958 Posts
                    im not able to use ajaxsearch when i set the manager language to persian?
                    the only thing chages is some black-color overflow of search input box instead of rolling menu of ajaxsearch.
                    FYI: there is no persian language in ajaxsearch package?
                    im working on this to get it right... any advise to get to the right way?

                    EDIT: ive solved the above issue, there was some RTL template conflict b/w css and ajaxsearch, but faced a new one tongue see the second screenshot...
                    seems to me that persian language string is rendered under different charset encoding there?
                    is there any configuration related to encoding in AjaxSearch that i’ve missed to set it to utf-8?

                    thanks
                      [img]http://i10.tinypic.com/52c4eir.gif[/img][/td]
                      [td][Wiki] [Persian support forum]
                      [SVN] [RTL SVN Branch] [bugs] [FishEye+Crucible] [Learn MODx!] | [My Google Code]
                      [font=tahoma][برای دسترسی به راهنمای فارسی به [url=http://www.modxcms.ir]
                      • 14050
                      • 788 Posts
                      Is there a way to have AjaxSearch not show snippet calls and html information in the results? For an example of what I am talking about, take a look here:

                      http://www.blueskyvineyard.com/

                      Search for "sweet wine"... and look at the content under "Home" and "Wine Selection"

                      The site is currently using AjaxSearch 1.6 on RC-3
                        Jesse R.
                        Consider trying something new and extraordinary.
                        Illinois Wine

                        Have you considered donating to MODx lately?
                        Donate now. Every contribution helps.

                      This discussion is closed to further replies. Keep calm and carry on.