The Javascript and CSS files (contentslider.css and contentslider.js) don't seem to load under certain circumstances. For example, I have a few domains that use the same page, code, and database.
* www.ucioutreachclinics.org - CSS and JS loads properly and content appears.
* ucifreeclinic.org - CSS and JS loads properly and content appears.
* www.ucifreeclinic.org - CSS and JS do NOT load and nothing appears. (I fixed this now with the solution below.)

Moving lines 144-145:

    drupal_add_css(drupal_get_path('module', 'content_slider') . '/contentslider.css');
    drupal_add_js(drupal_get_path('module', 'content_slider'). '/contentslider.js');

to an implementation of hook_init() at the end seems to resolve this issue:

function content_slider_init() {
    drupal_add_css(drupal_get_path('module', 'content_slider') . '/contentslider.css');
    drupal_add_js(drupal_get_path('module', 'content_slider'). '/contentslider.js');
}

}

Comments

sudeepg’s picture

Status: Active » Closed (fixed)

Fixed in new release.