I'm in the process of implementing CGI platform of Zoom V7 (Build 1021) on our server, we currently have Zoom V6 deployed. I'm trying to get the autocomplete feature to work but running into Bad Requests. I believe the issue is with the default setting in the generated javascript that is appended to the results. Here is what my variable is:
var ZoomAutoComplete_URL = "/files/zoom_7_0/search.cgi&zoom_ac=1";
As you can see, an ampersand is used instead of question mark.
I could not find any place were I could set this myself in the configuration. I have seen post about setting this yourself using javascript, but it is when you use the js and css files for own search form. And we actually do use our own search form on the results page. But if on the Search Page tab, you have it set to not generate the form, and on the Autocomplete tab have enable autocomplete check, you still get the autocomplete code embedded on the results page. To further test this issue, I changed the search form setting to basic and the same ZoomAutoComplete_URL value is generated, search.cgi&zoom_ac=1.
I did get it to work. I found that the autocomplete js file that can be used with own search form is what is embedded on the search results page by Zoom. So I added
var ZoomAutoComplete_URL = "/files/zoom_7_0/search.cgi?zoom_ac=1";
to the js file, thus this setting was right after the Zoom generated setting for this variable. And autocomplete worked fine. However, this file is overwritten on subsequent indexes, thus this is not a workaround.
Let me know if you need anymore information.
var ZoomAutoComplete_URL = "/files/zoom_7_0/search.cgi&zoom_ac=1";
As you can see, an ampersand is used instead of question mark.
I could not find any place were I could set this myself in the configuration. I have seen post about setting this yourself using javascript, but it is when you use the js and css files for own search form. And we actually do use our own search form on the results page. But if on the Search Page tab, you have it set to not generate the form, and on the Autocomplete tab have enable autocomplete check, you still get the autocomplete code embedded on the results page. To further test this issue, I changed the search form setting to basic and the same ZoomAutoComplete_URL value is generated, search.cgi&zoom_ac=1.
I did get it to work. I found that the autocomplete js file that can be used with own search form is what is embedded on the search results page by Zoom. So I added
var ZoomAutoComplete_URL = "/files/zoom_7_0/search.cgi?zoom_ac=1";
to the js file, thus this setting was right after the Zoom generated setting for this variable. And autocomplete worked fine. However, this file is overwritten on subsequent indexes, thus this is not a workaround.
Let me know if you need anymore information.
Comment