--- bc_panel_bonus_plugin_style_mini_panels (copy).inc	2011-10-28 11:57:36.000000000 +0100
+++ bc_panel_bonus_plugin_style_mini_panels.inc	2011-10-28 12:34:52.000000000 +0100
@@ -1,8 +1,17 @@
 <?php
 
 class bc_panel_bonus_plugin_style_mini_panels extends views_plugin_row {  
+  // Basic properties that let the row style follow relationships.
+  var $base_table = 'node';
+  var $base_field = 'nid';
+
   function render($row) {
-  	$node = node_load($row->nid) ;
+    if ($this->options['relationship']) {
+        $relationship_name = 'node_node_data_'.$this->options['relationship'];
+        $node = node_load($row->$relationship_name);
+    } else {
+        $node = node_load($row->nid);
+    }
   	
   	
   	/** Search for position in row. If someone knows a better way ;- ) **/
