Closed (outdated)
Project:
Domain
Version:
7.x-3.3
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
17 Feb 2012 at 10:49 UTC
Updated:
3 Sep 2024 at 19:10 UTC
Jump to comment: Most recent
I have a theme per domain set up with domain access.
If I set all my sites into maintenance mode, they all inherit whatever the default theme for the whole install is.
Is it possible to specify to use the maintenance.tpl.php file from the theme a particular domain is using?
Comments
Comment #1
agentrickardNot sure. This sounds like a Drupal core problem.
Looking, it seems we would need a new setting for 'maintenance theme' per domain, though I can't guarantee that would work.
See http://api.drupal.org/api/drupal/includes!theme.maintenance.inc/function...
Comment #2
iancawthorne commentedI did a global $_domain in maintenance page tpl to switch markup and styles based on the domain id. Not ideal, but a solution for now.
An ideal solution would be to have as you say a maintenance theme per domain.
Comment #3
agentrickardYes. It's a pretty simple feature request. Take a look at how we handle admin theme settings.
Comment #4
dqdI'll close this issue due to inactivity for 12 years and upcoming EOL of Drupal 7 in January 2025. While the project's version for Drupal 7 will surely keep providing support for security issues and website breaking bug fixes for Drupal 7, we should try to minimize the open issues for Drupal 7 in the queue as much as possible. A big thanks around for the report and all the efforts in here. Feel free to re-open if you can provide a fix or found an additional related problem which increases the issue priority.