I intermittently get field_slideshow is not installed when I run drush or in my error logs

the reference is in radix/template.php

could we do a simple module_exists

  // Add radix-field-slideshow when required.
  $field_slideshow = drupal_get_path('module', 'field_slideshow') . '/field_slideshow.js';
  $radix_field_slideshow = drupal_get_path('theme', 'radix') . '/assets/javascripts/radix-field-slideshow.js';
  if (!empty($javascript[$field_slideshow]) && empty($javascript[$radix_field_slideshow])) {
    $javascript[$radix_field_slideshow] = array_merge(
      drupal_js_defaults(), array('group' => JS_THEME, 'data' => $radix_field_slideshow))
  }

Comments

socialnicheguru’s picture

Title: Eeference to flield_slideshow causes errors » Reference to flield_slideshow causes errors
shadcn’s picture

Priority: Normal » Major
Status: Active » Needs work

Marking this as high priority. I'll fix this today. Thanks for the report capt'n.

  • arshadcn committed 6ebb1f7 on 7.x-3.x
    Issue #2428105: Reference to flield_slideshow causes errors
    
shadcn’s picture

Status: Needs work » Needs review

Just pushed a fix for this to the latest dev. Let me know if this works. We will tag a new release very soon.

socialnicheguru’s picture

Status: Needs review » Fixed

  • arshadcn committed 19f42ba on 7.x-3.x
    Issue #2428105: Reference to flield_slideshow causes errors
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.