Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am running D7 with Mollom 7.x-1.0 , Webform 7.x-3.11 and Arrange Fields 7.x-1.0-beta5. When I enable Captcha on my webform it appears over the form instead of below it. Is there anyway for the Captcha to be placed in a block or coded in some way to change which region it's placed in? I am also using Corolla as my base theme. I am including a screenshot so you can see what I mean. I am ready to go live soon and would like to figure this out. Thanks!
Comment | File | Size | Author |
---|---|---|---|
#19 | captcha.png | 8.55 KB | gebiss |
#15 | MollomArrangeFields_screen.jpg | 31.1 KB | dtone |
#2 | With Arrange Fields disabled.png | 53.85 KB | Seph |
Mollom displacement.png | 50.21 KB | Seph |
Comments
Comment #1
sunCan you try whether disabling Arrange Fields fixes the issue?
Comment #2
Seph CreditAttribution: Seph commentedIt does work when I disable Arrange Fields. But that doesn't really fix the issue. It should work with it enabled. My form def doesn't look as good. When I tried the same thing with the Captcha module...it outputs a field that can be moved in Arrange Fields. I'm very new to all this, just beginning to learn coding etc. This is my first site. Would like to be able to use Mollom.
Comment #3
sunI'm sorry - I've tried to figure out what arrange_fields.module is doing, but the code is a bit too messy, can't make much sense of it.
The approach that Arrange Fields module is using doesn't look very reliable to me. It seems the support for CAPTCHA module is hard-coded into the module, which explains why it works for that module, but not with Mollom.
This needs to be fixed in Arrange Fields module.
Comment #4
kennyacock CreditAttribution: kennyacock commentedI had the same problem with the CAPTCHA module, but I could not reposition it. I ended up uninstalling Arrange Fields.
Comment #5
Seph CreditAttribution: Seph commentedI really don't want to disable Arrange Fields if I don't have to. The Captcha module seems to be hard coded into Arrange Fields. Mollom isn't, so it doesn't appear on the grid and can't be repositioned. Help anyone?
Comment #6
Seph CreditAttribution: Seph commentedRichard...could use a little help. It's been a month with no response.
Comment #7
richardp CreditAttribution: richardp commentedThis message you just posted is the first I've seen of this issue (I just got an email when you posted). I don't even see it on my dashboard. Sorry-- I would have responded sooner if I knew about it.
Sun is correct-- I had to go out of my way to hard-code support for the Captcha module. This is because what captcha adds to the form isn't just a single element at a time, but rather several which have to be positioned as one unit. It appears that I will have to do something similar for the Mollum module. I agree with Sun that it comes off as messy, but I don't see any other way for Arrange Fields to be able to automatically work with these types of modules, so unfortunately, I have to hard-code support one at a time.
If there is a clever programmer out there who has an idea on how I can generalize this, by all means please post!
As for this issue, I will see what I can do on this and post back.
Richard
Comment #8
richardp CreditAttribution: richardp commentedOkay, I just put out a new version-- 7x-1.1. Please try that and see if it fixes the Mollom on webform issue. Remember that in order to *arrange* the Mollom captcha, you must be a user for which the captcha will show up. In testing, I gave the anonymous user the ability to arrange forms. This way the mollom captcha appears and I can drag it into place. Just remember to remove that permission before you go live.
When you have the time, please test it out and tell me if it does the trick. I'll admit that I'm a little new to Mollom myself.
Thanks, and sorry again about the late reply,
Richard
Comment #9
Seph CreditAttribution: Seph commentedJust did the upgrade per your instructions and it worked great! Thanks!
Comment #10
richardp CreditAttribution: richardp commentedglad to hear it!
Comment #12
dtone CreditAttribution: dtone commentedI opened this issue, because Mollom appears above and over de form. Richardp gave the tip to edit the form as an anonymous user, but I have no clue how to do that. I gave the anonymous user the permission to edit and arrange fields, but cannot get in to that mode as a anonymous user (which on the other hand, gives me a good feeling in case I've been inattentive ;-) ).
The captcha and the privacy notification (with textanalysis) of Mollom both appears above and over de form.
Comment #13
dtone CreditAttribution: dtone commentedI figured out how to get into the arrange mode as an anonymous user (which is not quite preferable or very friendly, but oke). Mollom keeps popping to the upperside of the form-page. Also some webform fields are very persisting in moving back to their original position or are shifting. Adjusting the width in the webform components edit page of some fields has no effect. Without Mollom the module works, with some little shifts of some fields.
So it appears to be some kind of problem getting this module to properly work when Mollom is activated.
(Working with Drupal 7.12. All installed modules are up to date)
Comment #14
richardp CreditAttribution: richardp commented@dtone, sorry to hear that. Can you post a screenshot of the problem in action? Also, are you using the same theme to arrange as you are to view the finished form? Also, have you tried this with a neutral theme like Garland?
Thanks
Richard
Comment #15
dtone CreditAttribution: dtone commentedHi Richard,
I picked up the work with Arrange Fields. Still got same problem. With Garland it works fine, but with my theme (I use Danland), the fields behavior is weird. In the screenshot there are 2 fields, the submit button and the mollom notification messed up. The last field (which says "Opmerking") is a textearea field. This one collaps to about nothing.
When all the fields are correctly positioned and clicking the "save position data" button, the fields jump to a undefined place in the edit field, like in the screenshot.
Comment #16
richardp CreditAttribution: richardp commentedYikes-- yeah, I see what you mean from your screenshot. I will see what I can do to try to replicate the problem on my end.
Richard
Comment #17
SharonD214@aol.com CreditAttribution: SharonD214@aol.com commentedI'm having a very similar problem when using the Mayo theme. The Mollom filed is right on top of where the userid is and is nearly impossible to read. Works fine if I disable arrange fields.
Sharon
Comment #18
richardp CreditAttribution: richardp commentedSorry I haven't been able to do much work on this issue, but I did just put out an update (7.x-1.9) which changes the way I apply the draggable wrappers around elements. It is possible this adjustment has fixed the original problem. If you have the time, please test it out and report back.
Thanks
Richard
Comment #19
gebiss CreditAttribution: gebiss commentedHi,
I am using D 7.12 with Captcha 7.x-1.0-beta2 and Arrange Fields 7.x-1.9. As it was explained above the captcha panel appears on the top and underneath the form (see attached image). I never used Mollom module.
Overall it's a great module and it would be awesome if the captcha would integrate well.
Thanks
Jacek
Comment #20
richardp CreditAttribution: richardp commentedI know this is old, but regarding #19 - make sure you have the latest version of CAPTCHA module installed. There was an issue in that version which caused it to not work with AF, but it has since been fixed (version 1.0 or later).
Comment #21
richardp CreditAttribution: richardp commentedI just put out a new version, 1.12, where for me Mollom and Captcha both appear correctly on the screen, though I will admit it is a little awkward to position them. I am going to mark this as fixed. If there are further issues with Mollom, please re-open. If there are issues with Captcha, please open a new issue.
Richard
Comment #23
ruhanstander CreditAttribution: ruhanstander commentedThank you, #8 worked for me using Mollom.