Using Lightbox2 (and without), instead of having the import form being loaded, it is loading the users profile page.
Im integrating with invite module.
I've tried adding the following code to the invite module:
//existing
$form['email'] = array(
'#title' => t('To'),
'#default_value' => $failed_emails,
'#description' => format_plural($allow_multiple ? 99 : 1, 'Type the e-mail address of the person you would like to invite.', 'Type the e-mail addresses of the persons you would like to invite. Addresses should be separated by newlines or commas.'),
'#required' => TRUE,
);
//added
if (module_exists('contact_importer')) {
contact_importer_bind_to_form($form, 'email');
}
I also used the form integration to try it throught the config using form id: invite_form and field id: email and get the same result.
Can anyone think what could be happening here?
I have even tried with the dev version.
Comments
Comment #1
dalinHmmm. Sounds like you have some sort of strange re-direct set up. Lets try without Lightbox to simplify things first.
When you hover over the "add contacts from GMail, Hotmail, Yahoo! and many more..." link, what does the statusbar say that the link destination is? When you click the link, where URL does your browser show?
Comment #2
dalin