Closed (won't fix)
Project:
Domain
Version:
6.x-2.4
Component:
- Domain Settings
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Apr 2010 at 09:46 UTC
Updated:
26 Oct 2011 at 17:06 UTC
Jump to comment: Most recent
Comments
Comment #1
OnkelTem commentedI found in code, that in domain_settings/domain_settings.module every form which is altered is having this message:
The reason why this appears on EVERY page for me, is new Admin 2.0 module ( http://drupal.org/project/admin ), which outputs a panel to the left, with "Create content" tab, which has a form with id="admin-block-theme-form":
So. Seeing the message about a domain-sensitive form, when there are no any visible forms, is not cool. I think a special condition should be added to the above code to hide the message in similar cases. Let me check is it available via $disallow...
==
Well, I successfully hid the message by adding the form with ID "admin_block_theme_form" to $disallowed list on the Domain Settings configuration page: admin/build/domain/settings in "Domain-specific settings" tab.
I think this should be by default (to move this form to disallowed list), but not sure which module should be concerned with this - Domain Settings or Admin module.
Comment #2
agentrickardIt's a flaw in the design of admin module for adding system_settings_form to every page. Not my problem. Your fix is the correct one. That's why those settings are there.
Comment #3
agentrickardRight now, Admin module cannot really address this. We could add a hook_domain_settings_alter() or hook_domain_settings_ignore() to allow other modules to change the disallowed list, or Admin module could edit the 'domain_settings_ignore' variable.
But something like this was bound to happen. Not much we can do aside from that. And I generally refuse to hard-code in special rules for non-core modules.
Comment #4
agentrickardComment #5
prakash4php commentedStill i have showing same error on "admin/build/domain/roles" page. that why i am not able to give permission to particular domain
Comment #6
charlie-s commentedPerhaps this message could be disabled for users who already know this and don't need the message.D'oh, this is easily achieved. Do something like "only show on the following forms" and don't enter any forms.
Comment #7
darrellduane commentedIn Drupal 7 the page to go to to do this is /admin/structure/domain/settings. Thanks for this solution!