Index: views_slideshow.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/views_slideshow/views_slideshow.module,v retrieving revision 1.11.2.2.2.12.2.5.2.2 diff -u -p -r1.11.2.2.2.12.2.5.2.2 views_slideshow.module --- views_slideshow.module 1 Jan 2011 01:20:21 -0000 1.11.2.2.2.12.2.5.2.2 +++ views_slideshow.module 8 Jan 2011 07:29:54 -0000 @@ -320,7 +320,7 @@ function views_slideshow_views_slideshow $locations = array('top', 'bottom'); foreach ($locations as $location) { foreach ($widgets as $widget_id => $widget_name) { - $options['widgets']['contains'][$location]['contains'][$widget_id]['enable'] = array('default' => 0); + $options['widgets']['contains'][$location]['contains'][$widget_id]['contains']['enable'] = array('default' => 0); $options['widgets']['contains'][$location]['contains'][$widget_id]['contains']['weight'] = array('default' => 1); } } Index: theme/views_slideshow.theme.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/views_slideshow/theme/Attic/views_slideshow.theme.inc,v retrieving revision 1.1.2.5.2.2 diff -u -p -r1.1.2.5.2.2 views_slideshow.theme.inc --- theme/views_slideshow.theme.inc 1 Jan 2011 01:20:21 -0000 1.1.2.5.2.2 +++ theme/views_slideshow.theme.inc 8 Jan 2011 07:29:54 -0000 @@ -23,8 +23,20 @@ function template_preprocess_views_slide /** * Process Skins */ - $skin_info = $options['skin_info']; + $skin_info = array(); + if (isset($options['skin_info'])) { + $skin_info = $options['skin_info']; + } + // Make sure $skin_info has all the values. + $skin_info += array( + 'class' => 'default', + 'title' => t('Untitled skin'), + 'module' => 'views_slideshow', + 'path' => '', + 'stylesheets' => array(), + ); + $vars['skin'] = $skin_info['class']; // Enqueue any stylesheets set for the skin on this view are added.