diff --git contrib/views_slideshow_cycle/views_slideshow_cycle.module contrib/views_slideshow_cycle/views_slideshow_cycle.module index f3b692c..2e66058 100644 --- contrib/views_slideshow_cycle/views_slideshow_cycle.module +++ contrib/views_slideshow_cycle/views_slideshow_cycle.module @@ -23,8 +23,8 @@ function views_slideshow_cycle_init() { $module_path = drupal_get_path('module', 'views_slideshow_cycle'); // Otherwise, we'll add the version included with this module. - if (!$js && file_exists($module_path . '/js/jquery.cycle.all.min.js')) { - drupal_add_js($module_path . '/js/jquery.cycle.all.min.js'); + if (!$js && file_exists($module_path . '/js/jquery_cycle/jquery.cycle.all.min.js')) { + drupal_add_js($module_path . '/js/jquery_cycle/jquery.cycle.all.min.js'); } if (file_exists($module_path . '/js/json2.js')) { diff --git contrib/views_slideshow_cycle/views_slideshow_cycle.views_slideshow.inc contrib/views_slideshow_cycle/views_slideshow_cycle.views_slideshow.inc index 412b708..4575596 100644 --- contrib/views_slideshow_cycle/views_slideshow_cycle.views_slideshow.inc +++ contrib/views_slideshow_cycle/views_slideshow_cycle.views_slideshow.inc @@ -52,9 +52,9 @@ function views_slideshow_cycle_views_slideshow_option_definition() { function views_slideshow_cycle_views_slideshow_slideshow_type_form(&$form, &$form_state, &$view) { - if (!file_exists(drupal_get_path('module', 'views_slideshow_cycle') . '/js/jquery.cycle.all.min.js')) { + if (!file_exists(drupal_get_path('module', 'views_slideshow_cycle') . '/js/jquery_cycle/jquery.cycle.all.min.js')) { $form['views_slideshow_cycle']['no_cycle_js'] = array( - '#markup' => '
' . t('You need to download jQuery cycle plugin and copy jquery.cycle.all.min.js to views_slideshow/contrib/views_slideshow_cycle/js You can find the module at !url.', array('!url' => l('http://malsup.com/jquery/cycle', 'http://malsup.com/jquery/cycle', array('attributes' => array('target' => '_blank'))))) . '
', + '#markup' => '
' . t('You need to download jQuery cycle plugin and copy jquery.cycle.all.min.js to views_slideshow/contrib/views_slideshow_cycle/js/jquery_cycle - you can find the module at !url.', array('!url' => l('http://malsup.com/jquery/cycle', 'http://malsup.com/jquery/cycle', array('attributes' => array('target' => '_blank'))))) . '
', ); }