Closed (duplicate)
Project:
Drupal for Facebook
Version:
6.x-3.2
Component:
Contrib Submodule
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 Apr 2012 at 13:18 UTC
Updated:
11 Oct 2012 at 13:21 UTC
I am using the fbconnect function to allow our site visitors to register with their facebook account. In the registration form, there are two fields that are showing, from xmlsitemap module, that should not be showing. These fields are not normally fields that the user can choose themselves, but are fields in the settings of xmlsitemap. How can I remove these from the registration form?
See attached screenshot...
| Comment | File | Size | Author |
|---|---|---|---|
| drupal-for-fb-xmlsitemap.png | 36.13 KB | marty.true |
Comments
Comment #1
Dave Cohen commentedThis is the fb_registration.module, which changes the registration form. (You may not actually want this module enabled?)
It's a tricky business changing the registration form. You may need a custom hook_form_alter to handle this. It may also be possible to patch fb_registration.module (it has for example awareness of the captcha module). I'd consider a patch if you put it together.
Comment #2
thedavidmeister commentedHey, this is a symptom of a more general issue where fb_registration shows form elements that Drupal has set #access to false for, which is a bad thing for a few reasons. There's an easy fix here #1776174: fb_registration does not respect '#access' attribute of form elements., test it out, leave a review over there and if it works for you we can hopefully get it committed :)