Closed (duplicate)
Project:
Masquerade
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Jan 2010 at 20:48 UTC
Updated:
29 Apr 2010 at 10:48 UTC
On the 'My Newsletter' profile tab, the settings for masquerade (module) and gigya (module) are showing up as well as the newsletter settings/checkbox.
I believe this is because simplenews is creating a form-id "user-profile-form" which is the same id used by the main account settings page and other modules add their settings to the account page by looking for 'user-profile-form' ID. Is there a way to change the My Newsletter form ID to something else so these other module settings don't appear? I'm not sure if there's a need to have it be the same form-id as the main account settings.
Comments
Comment #1
sutharsan commentedThis is caused by a fault in masquerade. And probably the same kind of fault in gigya module, but I only checked Masquerade. The hook_user implementation does not uses the $category and therefore adds its form element to every user profile category, account and newsletter. Simplenews does use category as it should. See http://api.drupal.org/api/function/hook_user/6
Comment #2
cerup commentedThank you. I appreciate the quick reply.
I've fixed the issue in those modules and put in an issue on their pages so they're aware.
Thanks again!
Comment #3
xurizaemonThis was a duplicate of #592558: control for list of users on all sub-tabs and it looks like the issue is fixed in DRUPAL-6--1 already as of 1.16.2.29.
Updating issue title for clarity anyway.
Fix should be in the 6.x-1.x-dev tarball until next stable comes out.