-
MODX Staff
- 12,272 Posts
Try nuking the space after the "?".
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
-
☆ A M B ☆
- 24,524 Posts
Or try using & instead of $ for the arguments.
-
☆ A M B ☆
- 24,524 Posts
Ok, I see the problem. introMessage is not a snippet argument. You have to edit the snippet code at this point:
// $introMessage [ string ]
// This is the text that will show up if the person arrives
// at the search page without having done a search first.
// You can leave this as an empty string if you like.
$introMessage = '';
And that was it, thanks a lot! Is there a way to get rid of the default animated .gif and stop button after you hit the search button, or at least a way to change them? I didnt see it in the options.
You can edit those images in assets/snippets/AjaxSearch/AjaxSearch.js.
Probably the easiest way to do this is to replace them both with the same 1x1 pixel transparent gif (since you’d have to edit the JavaScript otherwise or I believe you would get an error message).