Needs review
Project:
Pixture Reloaded
Version:
7.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
17 Jan 2011 at 11:48 UTC
Updated:
5 Feb 2013 at 22:01 UTC
Hi,
If this is already possible please forgive me, but I can't find the settings anywhere.
Would it be possible, or is it possible, to set the settings (eg colour) of the maintenance page. Currently, although my site is running in grey/silver, when in maintenance mode it reverts to and uses the girly pink colours.
Comments
Comment #1
Jeff Burnz commentedActually I don't know, give me a couple of days to look into it.
Comment #2
Jiri Volf commentedFirst, thanks for a great theme! As a workaround I switch to the default theme before going to maintenance mode. Having the maintenance mode in the same look as the pixture reloaded theme would look much better though.
Actually, what would do for me is, the default color set being something more neutral than the pink one :)
Comment #4
Jeff Burnz commentedI think what I will do is build a dedicated maintenance page that avoids the color module, something like that - I can probably make this work when the database is active, but when its not then all hell will break loose unless I account for that, in which case we're getting into a lot of hassel to display one page. Something along the lines of what Bartik does is probably the best approach.
Comment #5
Lennard commentedI see still the same problem that pink site in maintenance looks realy girl like.
But i have a solution for the Problem.
I have addes follow code to pixture_reloaded template.php
This needs to added the configure color.css to the maintenace-page.tpl.php.
Its really simple and works fine. Testet with both 2.2-dev version of pixture_reloaded
and adaptive themes.
Greets Lennard
Comment #6
Jeff Burnz commentedHi Lennard - that looks ingenious, I have to try this out immediately!
Comment #7
Lennard commentedHey Jeff we need same code in the 7.x.-3.x Version to display the right colors
in the maintanance page. ^^
Thank you.
Comment #8
Jeff Burnz commentedOK, thinking about something a little more generic that could actually slot into the base theme and save me replicating this for every subtheme:
Comment #9
Jeff Burnz commentedI tested the above with some of my themes and it works really good, of course it fails for database failure but I can't seem to find a way around that, since I don't think there's a way to set config variables in settings.php just for maintenance pages (there probably is, and if someone finds out could they tell me please :)
Comment #10
Lennard commentedOk jeff i have testet and it works too.
I have insert follow in template.php of pixture_reloaded.
I hope that is what you means.
Greets Lennard
Comment #11
Lennard commentedIt is not necessary in my opinion mantanance page settings in settings.php is because when a database once a fault has normal, the website does not appear.
Drupal requires at all times a working database.
A further point is that even the text of the maintenance page databank also stored in.
Greets Lennard
Comment #12
Jeff Burnz commentedYep, thats what I mean, sorry about the $theme_name variable, thats something I use in AT Core 3.x. Global theme serves the purpose well also.
Comment #13
echoz commentedI'm working on a client site with 7.x-2.2 (not dev as this issue is set as) and neither #5 nor #10 work, maintenance page still pink. Is this expected to work with 7.x-2.2?