We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27708 MODX Staff
    • 2,502 Posts
    I am using an old version so I’ll assume that it is not possible.

    Thank though,

    Jay
      Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup magician. Blog ✦ Twitter ✦ LinkedIn ✦ GitHub
      • 12027
      • 63 Posts
      Put AjaxSearch on http://scoopex1988.org , and it works. However, it keeps the Search Results box open while navigating. How do I fix this?
        • 5811
        • 1,717 Posts
        Simply by download the last release of ajaxSearch wink You use the version 1.6 which doesn’t manage the opacity parameter.
        Upgrade to the last version and let me know the results.

        How have you create your logo ? Very impressive
          • 12027
          • 63 Posts
          Worked a charm! Thank you smiley

          Logo, menu, and bg (basically, all the good looking stuff tongue) were made by our group member Core, I did the remainder.

          In IE6, the search result box is rendered behind the below content text, despite z-index:3; for the div in the css. (Just like before, just wondered if there was a way...)
            • 5811
            • 1,717 Posts
            In IE6, the search result box is rendered behind the below content text, despite z-index:3; for the div in the css. (Just like before, just wondered if there was a way...)
            It should be a css issue on your own site. On the AjaxSearch Demo site, select "english documents" and "absolute" as subset of documents and as template, and try to search one of the suggested word proposed by the link "search words". The search results box is displaying above the content area of the document. To solve your issue dowload the absolute.css file and compare with your own css file; the absolute.css file could be downloaded on the description page of the version 1.7.1.
              • 1531
              • 42 Posts
              How do I set a custom submit button on this one? Yes, i have searched!
                The man, the myth
                • 6726
                • 7,075 Posts
                Well, that’s a matter of CSS styling, the search button has the following id : #ajaxSearch_submit
                You’ll find the entire CSS class used by the snippet in the snippet’s documentation...

                Now back on my question :

                I have been enjoying the new features of 1.7.1, everything works great (limiting search with &parents is a bliss !).

                One thing I wonder since it’s not in the doc is the templating : are there parameters to use a chunk as an alternate to the default form, result... templates (i.e can I use something like &resultForm= `chunk` ?) or do I have to edit template.inc.php (my problem with that would be to make the changes site wide which might not be great since I’ll use the &parents parameters to have differents searches in the website I am working on...) ?

                  .: COO - Commerce Guys - Community Driven Innovation :.


                  MODx est l'outil id
                  • 1531
                  • 42 Posts
                  Quote from: davidm at Apr 03, 2008, 03:32 AM

                  Well, that’s a matter of CSS styling, the search button has the following id : #ajaxSearch_submit
                  You’ll find the entire CSS class used by the snippet in the snippet’s documentation...

                  Now back on my question : I dont wanna use a background. Dont think it does what i want. Or does it?
                  My formbutton for eForm i could change in the chunk. Looking for something similar here.
                    The man, the myth
                    • 5811
                    • 1,717 Posts
                    @DavidM :
                    One thing I wonder since it’s not in the doc is the templating : are there parameters to use a chunk as an alternate to the default form, result... templates (i.e can I use something like &resultForm= `chunk` ?) or do I have to edit template.inc.php
                    No. The only way to change the form is to customize the default template file.

                    (my problem with that would be to make the changes site wide which might not be great since I’ll use the &parents parameters to have differents searches in the website I am working on...) ?
                    Not sure to understand your needs. Do you need to change the form of the search (so I undertsand the use of &resultForm= `chunk`) or the subset of documents where to search (&parents parameter) ?
                    Form should be changed through the default template (or in future through a chunk) and subset through &parents in templates or in documents.
                    Where do you put you snippet call? in templates or in documents ?
                      • 5811
                      • 1,717 Posts
                      @AndreasE
                      The templating possibilities of ajaxSearch 1.7.1 are very poor and needs to be improved. With the current version you have to change the default template file includes/templates.inc.php

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