The mission does not show up. I think its missing within the .theme file. Since mission is a standard feature in Drupal, it should be implemented. I tried this on Drupal 4.7 RC 3.

CommentFileSizeAuthor
#5 interlaced-5.x-mission.patch1.25 KBmicahw156

Comments

micahw156’s picture

I made the following changes in 4.7.0, and it seemed to work:

--- interlaced.theme.orig       2006-03-05 04:13:56.000000000 -0500
+++ interlaced.theme    2006-05-19 22:51:57.000000000 -0400
@@ -2,7 +2,7 @@
 // $Id: interlaced.theme,v 1.23 2006/03/05 09:13:56 tdobes Exp $

 function interlaced_features() {
-  return array('toggle_name', 'toggle_favicon');
+  return array('toggle_name', 'toggle_favicon', 'toggle_mission');
 }

 function interlaced_regions() {
@@ -92,6 +92,13 @@
     $output .= $tabs;
   }

+   if (drupal_is_front_page() && theme_get_setting('toggle_mission')) {
+    $mission = variable_get("site_mission","");
+    if ($mission != "") {
+      $output .= "\n<div id=\"mission\">" . $mission . "</div>\n";
+    }
+  }
+
   $output .= theme('help');

   $output .= theme('status_messages');

I then added a #mission section to the css file. I noticed that this theme favors class tags over id tags, so maybe this needs some work. Also, it appears that drupal_is_front_page() is new to 4.7, so earlier versions may need to use drupal_get_path_alias($_GET['q']) == variable_get('site_frontpage', 'node') instead. (Both versions of this were borrowed from phptemplate.)

TDobes’s picture

If you could share some styling for the missing for each of the four styles, I'll be happy to add this feature.

TDobes’s picture

err... styling for the MISSION (not missing)

The PHP is the easy part... for me, anyway.

hunmonk’s picture

patches still welcome for this feature

micahw156’s picture

Version: master » 5.x-1.x-dev
Status: Active » Needs review
StatusFileSize
new1.25 KB

Revisiting this issue while (finally!) upgrading an old 4.7.x site that uses the interlaced theme to 5.x. Here's a patch against 5.x-1.x-dev that includes both the changes to interlaced.theme that I originally proposed, and to styles1.css that provides some simple theming to the mission statement.

Also, I changed the mission div from id to class to make it consistent with the rest of the theme.

micahw156’s picture

Status: Needs review » Closed (won't fix)

No activity in 2.5 years on this issue. Clearing it off of my open issues list.