Form submits come back to my own site
When I submit form be it search or node add it comes back to my site with an error message.
# URL starts with fb_cb/My-App-Name. This should never happen on connect pages. Did the previous page have a badly formed link?
If you can make your dff_custom module public it would be of great help.
As discussed here: http://drupal.org/node/694800, I coded my own module
/**
* implementation of hook_form_alter
* @param unknown_type $form
* @param unknown_type $form_state
* @param unknown_type $form_id
* @return unknown_type
*/
function mymodule_form_alter(&$form, $form_state, $form_id) {
// Special canvas page form handling *only* when enctype is set.
if (!isset($form['#attributes']) || !isset($form['#attributes']['enctype'])) {
// Prevent fb_canvas from changing the form's action
//dsm("Fb only forms");
fb_canvas_form_action_via_facebook($form, TRUE);
}
//dsm($form);
}
but above function does not work, can anyone help me with this. The form keeps redirecting to my site, I need it to stay it on facebook as it does for druaplforfacebook app.
- Forums:

We're trying to figure this
We're trying to figure this out. Sounds like the same issue reported here: http://drupal.org/node/711654
are you using fbml or iframe canvas pages?
I am using FBML. What can
I am using FBML. What can solve this problem?
It works fine in your app DrupalforFacebook.