When using the modal frame for display of a personal contact form the following error occurs

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: http://localhost:8888/domain/?q=user/4/modal_forms/ajax/contact
StatusText: OK
And then a lot of css files follow that are called.

My install is pretty clean so I don't expect any interference from other modules.
There are no permissions issues as I am trying to reach the form as #1 user
When using the modal frame for the global contact form al works fine.

Members fund testing for the Drupal project. Drupal Association Learn more


frjo’s picture

Assigned: Unassigned » frjo

This is a bug in the JavaScript that automatically rewrite contact form links. It doesn't make a special case for personal contact form so messes up the link.

Will try to get some time to look at this but it will take some time.

danon1981’s picture

I see, thanks in advance for fixing this.

FooZee’s picture

any updates about this ?? :) I really like the module and think that this feature is a must have actually :)

I need this for an ongoing project, so if you have started working on it and need any help I'd be happy to give a hand, if you didn't have time to do it yet, I may start doing it and post back anyways ;) --just I'm too lazy to re-invent the wheel :D

frjo’s picture

@FooZee, I have not taken the tile to look at this yet so please take a stab at it.

FooZee’s picture

Assigned: frjo » FooZee
Status: Active » Needs review
0 bytes

Here is a patch that ideally works, please test it and tell me if it does need anything else :) ...
sorry had a minor problem with Git and I stupidly created an empty patch... correct patch following in the next comment

FooZee’s picture

The working patch (hope it really works :D)

frjo’s picture

Version: 7.x-1.2 » 7.x-1.x-dev
Assigned: FooZee » frjo
Status: Needs review » Fixed

Thanks for contributing this patch FooZee!

Committed to 7-dev with some fixes to coding standard and to make it work for non clean URLs.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.