$action .= '&' . implode('&', $parts); } //the remainder of this function has been modified to help exposed views filters work. Apparently views returns a fully qualified URL that must not be changed. if(substr($action, 0, 4) == 'http'){ //if $action starts with a /, we need to remove it, otherwise url() returns //http://example.com//path/to/action if(substr($action, 0, 1) == '/') { $action = substr($action, 1); } //drupal_set_message("form action now " . "http://".$_SERVER['HTTP_HOST']. $action); // debug return url($action, NULL, NULL, TRUE); } else {//drupal_set_message("form action now " . "http://".$_SERVER['HTTP_HOST']. $action); // debug return "http://".$_SERVER['HTTP_HOST']. $action; }; } function _fb_handling_form() {