Download & Extend

How can I allow individual domain administrators to upload their own logo and site settings?

Project:Domain Access
Version:7.x-3.4
Component:- Domain Theme
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

I enabled Domain Theme and now can upload logos as well as customize other settings. However, how can I let the administrator for a particular domain do this himself?

In the permissions, I first enabled 'administor themes' to test to see if this would allow me to do that. When I went to the page of an individual domain, as expected, 'appearance' is now in the admin bar. When I try to configure the settings for the domain, it recognizes that I am trying to edit the default drupal settings rather than those controlled by Domain Theme and I get the following warning:

This form submits changes to your default configuration and may need to be entered from tourismbuilder.com. You may submit changes to the current domain at admin/structure/domain/view/6/theme/tb/theme-settings.

When I click that link I get access denied of course as this level of administrator cannot have access to the global domain settings.

Given that that link actually exists and each site has a unique view number, it feels like there is a setting I am missing somewhere, almost like there should be a new permission 'Administor domain theme.'

If so, where is this located?

Comments

#1

Category:support request» bug report

That support doesn't exist. There was a Domain Administration module for D6 that added such a feature.

Without writing code, you have one option:

* If you don't have custom theme settings per domain, but just have custom theme selection, you can save changes using the default form under the "Appearance" tab.

Otherwise, if you need custom settings per theme per domain, you currently have to be an administrator to do so.

In code, you can use hook_menu_alter() to change the permissions on the /admin/structure/domain/view/%/theme callback to allow for this access.

There is a bug here because that link should not be visible to people who can't access it.

#2

Ok, I don't mind putting some code together. I do have a single theme, but it does need to have different settings per unique domain. Ultimately wouldn't having a permission to 'administor domain theme settings' be helpful? If this sounds like a possibility should I post a feature request?

Thanks!

#3

Category:bug report» feature request

Feature request is fine, but requires some deep changes to menu structures which should be supported.

Please check the queue and make sure this isn't already a feature request.

#4

Subcribed