Mission statement and highlighted region

Last updated on
31 August 2016

Drupal 7 will no longer be supported after January 5, 2025. Learn more and find resources for Drupal 7 sites

Drupal 6.x

In Drupal 6, the page template receives a special variable called $mission. This contains the mission statement, displaying it on the front page. Drupal 6 themes also had an option on the theme settings page to toggle this functionality.

In .info:

features[] = mission

In page.tpl.php:

<?php print $mission; ?>

Drupal 7.x

Drupal 7 removes the mission setting (and the option toggle) in favor of the more general custom block placement in regions. Drupal 7 core themes now include a region named 'highlighted' which uses the same display as D6's mission statement area. Whether this region has content now depends on administrators setting block placement, and is no longer limited to the front page.

If your theme defines custom regions, and does not include a "highlighted" region, you may define the region by adding it to the existing list of regions your .info file. If the theme does not define regions in the .info file, the regions provided by core will be inherited automatically, and you'll only need to ensure that you print it in page.tpl.php.

in .info:

regions[highlighted] = Highlighted

in page.tpl.php:

<?php print render($page['highlighted']); ?>

Help improve this page

Page status: No known problems

You can: