• Hi there

    I am trying to implement this plugin on a site I’m building (its on a dev server I cannot link you to). For some reason, probably due to the server configuration, when I add new plugins, the relevant linked files are not added to wp_footer automatically. I cannot find any documentation about that those files would be in this case.

    I took a guess at the following:

    <script type=’text/javascript’ src=’/wp-content/plugins/ajax-search-lite/js/nomin/jquery.ajaxsearchlite.js’></script>
    <script type=’text/javascript’ src=’/wp-content/plugins/ajax-search-lite/js/nomin/jquery.highlight.js’></script>
    <script type=’text/javascript’ src=’/wp-content/plugins/ajax-search-lite/js/nomin/asl_wrapper.js’></script>
    <script type=’text/javascript’ src=’/wp-content/plugins/ajax-search-lite/js/nomin/simplebar.js’></script>
    <link rel=”stylesheet” type=”text/css” href=”/wp-content/plugins/ajax-search-lite/css/style.basic.css” />

    This has the search field appearing but the live ajax results are not appearing.

    I’m seeing some jquery errors in the console so I presume I’m missing something?
    “Cannot read property ‘enabled’ of undefined”

    at Object.window.ASL.initialize (asl_wrapper.js:159)
    at HTMLDocument.<anonymous> (asl_wrapper.js:273)
    at mightThrow (jquery-3.5.1.js:3762)
    at process (jquery-3.5.1.js:3830)

    Any help greatly appreciated here!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author wpdreams

    (@wpdreams)

    Hi!

    There are no additional files needed, it should work right out of the box.

    The error message tells me, that the initialize script might be tempered with or not loaded correctly. I suggest checking and turning off temporarily the minify/js combine feature of a cache plugin, which you might be using.
    If you want, you can add a relevant URL and I will check what is going on.

    Best,
    Ernest M.

    Thread Starter naomibb99

    (@naomibb99)

    So the issue was that I hadn’t included wp_head. I had left this out on purpose because including it is throw all of my css out of whack. I guess I just need to work out what files are being included in wp_head now.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘What additional files are required for plugin to work?’ is closed to new replies.