Hello,
I’m using AjaxSearch in "non-ajax" mode, with a target document properly defined. Everything works as expected, except for one little snag.
Whenever a search is performed with the form residing on a document within a parent container, the AS_landing page is not found and the search results are returned within my 404 page.
Question: Is there a way to configure AjaxSearch, in non-ajax mode, to display the search results within the AS_landing page, even if the AS_landing page document isn’t within the current document container?
Thanks,
Tom
coroico,
Thanks for the reply. Here is my call...
[!AjaxSearch? &ajaxSearch=`0` &AS_landing=`8`!]
Tom
This is the snippet on the search results page. The page is published.
[!AjaxSearch? &AS_showForm=`0` &ajaxSearch=`0`!]
coroico,
Nice tool, reminds me of Firebug, only easier to use.
It’s a 404 error, with the search document being requested from within the container that I am currently in, rather than off of the site root, where the document resides. The search works fine everywhere else, retrieving the search-results document properly, as long as I am not executing the search form from within a document inside a container. For lack of a better explanation, it a relative path issue within the document tree.
Unfortunately, the site doesn’t do live for another week.
Thanks.
Tom