Integrating Plus1 Widget with Dynamic Display block Slideshow

To display the widget in the slideshow you can use the following php code in the ddblock-cycle-pager-content-[theme_name].tpl.php content template file of the ddblock theme:

<div class="plus1-widget">
 print plus1_jquery_widget($slide_node,0,0);

This can e.g. be added to the slidetext <div>

To deliver the $node object in the variable $slide_node to the template file you need to add the following snippet to the content preprocess function:

// add $node object 
$slider_items[$key1]['slide_node'] =  node_load($result->nid);