Index: droplet.inc =================================================================== --- droplet.inc (revision 74) +++ droplet.inc (working copy) @@ -648,6 +648,14 @@ * @ingroup includes */ function mysite_type_droplet_view_content($droplet) { + $args = array(); + //fetches the droplet owners UID and then sends it as an arg + $sql = "SELECT * FROM {mysite_data} WHERE {type_id} = %d AND {type} = 'droplet'"; + $user_query = db_query($sql, $droplet->myid); + $result = db_fetch_object($user_query); + if($result->uid == 0) $result->uid = 1; + $args[] = $result->uid; + // for blocks, the key is stored as "module|delta" $view = views_load_view($droplet->key); $output = views_build_view('embed', $view, $args, $view->use_pager, $view->nodes_per_page);