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"> <?php print plus1_jquery_widget($slide_node,0,0); ?> <div>
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);
Recent comments
35 sec ago
2 days 5 hours ago
2 days 7 hours ago
3 days 21 hours ago
4 days 14 hours ago
5 days 6 hours ago
5 days 13 hours ago
1 week 17 hours ago
1 week 2 days ago
1 week 4 days ago