Sorry for the really dumb question, but I have been playing around with 4.7. I put the site into maintenance mode and can't figure out how to get back into it! I seem to be having a blonde moment :(

While I am at it, how do I or where do I look to, to customise the down for maintenance screen...

Thanks in advance....

Comments

heine’s picture

?q=user

misc/maintenance.css is the file used to style the offline message
--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started.

DallyBoy’s picture

Thankyou, thankyou, thankyou! :)

DallyBoy’s picture

Thanks for the pointer to maintenance.css. Can I also ask where the actual page is defined? I would like to add the site header and menu to the maintenance screen so other sections of the site can be used while the CMS bit is down for maintenance. I suppose part of the question is can it be themed like everything else (phptemplate based theme).

Cheers

heine’s picture

The page is generated by theme_maintenance_page() in theme.inc (line 426 in cvs).

Because it's a theme function, you can override it in your theme. Check Overriding other theme functions for a 'howto' do that using a phptemplate theme.
--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started.

DallyBoy’s picture

Thanks Heine

That's the info I was looking for...

Cheers

estevan_carlos’s picture

I think this bit of information needs to be more clear within the Drupal system. Luckily this post pops up as soon as you search for the problem but that's not always a dependable method...

UncleGuy’s picture

That was the fix, thanks for taking the time.

jawedaan’s picture

I was too face this problem...thank you all guys for such help

bhaktti’s picture

I knew this but i had forgotten. Thanks

hrynkiw’s picture

Yup, this bit me too. Thanks for the tip.

fcmxtzsca’s picture

It realy bothers me a lot.thanks.

parisj13’s picture

Thank you!