By CW Smith

2013-12-11 20:49:44 8 Comments

I'm trying to setup my maintenance mode message so that it will display a twitter feed and a facebook like box to my sites facebook page. I want to do this so I have a place to send information to the people who need it or want to keep up to date while I do something that could have the site in maintenance for an extended period of time. I'm just wondering how I would set that up and if it's possible in the default maintenance mode settings of if I have to do something else, like a separate page or module.


@pokermoneyclips 2013-12-11 22:15:24

If you just wanted to add some text I'd say go into the admin settings of /admin/config/development/maintenance and update the text but if you want to add dynamic code like a facebook Iframe like button you're probably better off adding the code to a custom maintenance-page.tpl.php in your theme. Grab the code from Facebook and twitter and paste.

Just add it below the line that reads

<?php print $content; ?>

Drupal api reference -!system!maintenance-page.tpl.php/7

@CW Smith 2013-12-11 22:21:04

Thanks, I'll add that to my themes I use, should make things easier

Related Questions

Sponsored Content

1 Answered Questions

[SOLVED] Maintenance mode and user session

  • 2018-06-29 09:02:02
  • Michael
  • 169 View
  • 1 Score
  • 1 Answer
  • Tags:   maintenance-mode

1 Answered Questions

1 Answered Questions

[SOLVED] Site stuck in maintenance mode

  • 2011-03-03 12:12:22
  • kiamlaluno
  • 10046 View
  • 15 Score
  • 1 Answer
  • Tags:   maintenance-mode

1 Answered Questions

URLs with trailing slash say site in maintainence mode, others don't, site isn't in maintenance mode

  • 2016-09-10 13:13:59
  • user56reinstatemonica8
  • 40 View
  • 0 Score
  • 1 Answer
  • Tags:   7 uri maintenance-mode

1 Answered Questions

[SOLVED] Can drush return if site is in maintenance_mode?

4 Answered Questions

[SOLVED] What does maintenance mode do?

  • 2015-03-12 03:00:43
  • Allen
  • 2236 View
  • 2 Score
  • 4 Answer
  • Tags:   maintenance-mode

1 Answered Questions

[SOLVED] Error message when deleting folders/files on Maintenance mode

1 Answered Questions

2 Answered Questions

[SOLVED] Drupal 7: Protect entire site in a maintaince mode-esque fashion

Sponsored Content