diff -rupN views_slideshow/contrib/views_slideshow_thumbnailhover/views_slideshow_thumbnailhover.theme.inc views_slideshow_new/contrib/views_slideshow_thumbnailhover/views_slideshow_thumbnailhover.theme.inc --- views_slideshow/contrib/views_slideshow_thumbnailhover/views_slideshow_thumbnailhover.theme.inc 2009-09-26 15:20:50.000000000 -0700 +++ views_slideshow_new/contrib/views_slideshow_thumbnailhover/views_slideshow_thumbnailhover.theme.inc 2009-11-03 13:39:17.000000000 -0800 @@ -62,7 +62,10 @@ function theme_views_slideshow_thumbnail } $output = '
' . "\n"; foreach ($view->result as $count => $node) { - $output .= theme('views_slideshow_thumbnailhover_no_display_teaser', node_view(node_load($node->nid), $teaser, FALSE, FALSE), $id, $count); + // Allows theming the breakout section + $breakout_theme_functions = $view->style_plugin->additional_theme_functions(); + $breakout = theme($breakout_theme_functions[0], array(node_load($node->nid), $teaser)); + $output .= theme('views_slideshow_thumbnailhover_no_display_teaser', $breakout, $id, $count); } $output .= "
\n\n"; return $output; diff -rupN views_slideshow/views-slideshow-breakout.tpl.php views_slideshow_new/views-slideshow-breakout.tpl.php --- views_slideshow/views-slideshow-breakout.tpl.php 1969-12-31 16:00:00.000000000 -0800 +++ views_slideshow_new/views-slideshow-breakout.tpl.php 2009-11-02 21:18:27.000000000 -0800 @@ -0,0 +1,3 @@ + \ No newline at end of file diff -rupN views_slideshow/views_slideshow.theme.inc views_slideshow_new/views_slideshow.theme.inc --- views_slideshow/views_slideshow.theme.inc 2009-09-18 15:15:49.000000000 -0700 +++ views_slideshow_new/views_slideshow.theme.inc 2009-11-03 13:40:30.000000000 -0800 @@ -10,3 +10,9 @@ function theme_views_slideshow_main_sect $output .= '\n\n"; return $output; } + +function template_preprocess_views_slideshow_breakout(&$vars) { + // variables passed as follows: $node, $teaser + $vars['node'] = $vars['view'][0]; + $vars['teaser'] = $vars['view'][1]; +} \ No newline at end of file diff -rupN views_slideshow/views_slideshow.views.inc views_slideshow_new/views_slideshow.views.inc --- views_slideshow/views_slideshow.views.inc 2009-04-15 19:04:55.000000000 -0700 +++ views_slideshow_new/views_slideshow.views.inc 2009-11-03 13:40:57.000000000 -0800 @@ -22,6 +22,9 @@ function views_slideshow_views_plugins() 'uses row plugin' => TRUE, 'type' => 'normal', 'parent' => 'list', + 'additional themes' => array( + 'views_slideshow_breakout' => 'style', + ), ), ), );