Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
For the time being, this module requires Clean URLs.
Missing blocks
If you have custom block visibility settings on any of your search-related blocks, you must make sure the block is configured to be shown on 'search/apachesolr_ajax'
.
Missing JavaScript files
If this module's JavaScript and/or CSS files are not added to your page, you may have to implement a MYTHEME_preprocess_page()
function:
function mytheme_preprocess_page(&$vars, $hook) {
$vars['head'] = drupal_get_html_head();
$vars['scripts'] = drupal_get_js();
$vars['css'] = drupal_add_css();
$vars['styles'] = drupal_get_css();
$vars['closure'] = theme('closure'); // Newly needed for v1.11
}
In some cases, template_preprocess_page in theme.inc is run before apachesolr_ajax_preprocess_page()
, and so the JavaScripts files are not added. This is the fix.