Is there a site to look at?
Is there a site to look at?
Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...
If you're using a template based on the built-in responsive classic, make sure that you have (in the admin's Layout Boxes Controller) the search_header or search sidebox enabled for the template.
Each of those sideboxes includes an input field named keywords, which is what Instant Search's jQuery/javascript is looking for.
Thank you @torvista for figuring out instant_search_dropdown.min.js isn't loading. Since it is on the site in the template directory and is not named for auto inclusion, is the mod supposed to be loading it?
> is not named for auto inclusion
Yes it is.
Anything named jscript_whatever.js should be auto-included.
Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...
Hmm, I find I have a file in my site that is not in the Github repository:
jscript_instant_search.js
that loads the template file.
Probably debris from a previous version of Instant Search.
I can't investigate further until later.
Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...
yup - no jscript prefix on those two files in the jscript folder
adding the jscript prefix does not make this work. I'm going to call it quits on this mod.
The necessary javascript file is:
instant_search_dropdown.min.js
This is loaded by the file:
auto.instant_search_observer.php
and triggered from the notifier:
'NOTIFY_FOOTER_END'
in tpl_main_page.php
So, something is broken/missing in that chain of events.
Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...
Bookmarks