Voting starts in March for the Drupal Association Board election.
I'm using the views_slideshow_thumbnailhover module. I want to add additional theming to the breakout-teaser(s) theme functions so I've overridden them with .tpl.php files in my theme.
The code is identical in my .tpl.php files (except I'm printing $output instead of returning it).
The problem I'm having is that the $id variable is not being properly set in my views-slideshow-thumbnailhover-breakout-teaser.tpl.php. The $id stays as 1 through all the
$output .= theme('views_slideshow_thumbnailhover_breakout_teaser', $item, $id, $count); in
theme_views_slideshow_thumbnailhover_breakout_teasers, but increments by 1 in the breakout-teaser function. This is really bizarre behaviour and I can only guess it's due to a preprocess function somewhere that's also setting the 'id' variable, however, I've not been able to find anything.
When I modify the theme registry definition of the breakout_teaser theme, changing the parameter 'id' to something like 'slideshow_id' everything works as it should.
I hope what I've said makes /some/ sense ;-). But basically, for whatever reason it's not possible for me to create a custom template for the theme_views_slideshow_thumbnailhover_breakout_teaser function unless I change the theme registry definition.