open source

Drupal Themes Mission Statement

In some Drupal Themes there is support for displaying the "Mission Statement" across all pages and in others this support is limited to the "Front Page" or "Main Page".

If you are ever using one of the themes with limited mission statement support and want to display the mission statement across all pages you can use this to do so.

In template.php add the following to the bottom of the file:

function _phptemplate_variables($hook, $vars = array()) {
// Make custom variables available to theme templates
switch ($hook) {
// Send new variable $custom_mission to page.tpl.php
case 'page':
$vars['custom_mission'] = variable_get('site_mission', '');
break;
}
return $vars;
}

Then in page.tpl.php change:

<?php if ($mission) { ?><?php print $mission ?><?php } ?>
to be

<?php if ($custom_mission) { ?><?php print $custom_mission ?><?php } ?>

These 2 changes should allow the "Mission Statement" to be displayed across all pages.

New Drupal 5 release

Drupal 5.7 was just released.

There are no new features in this release. Only bug fixes.

The following bugs have been fixed since the 5.6 release:

  • #208700 by pwolanin. Fix bad backport of #194579. Modified to use Form API.
  • #118569 by bevan: document how should one set RewriteBase, if under a VirtualDocumentRoot. Backport by Bart Jansens.
  • - Patch #115606 by Junyor, thesaint_02: added support for PHP 5.2's 'recoverable fatal errors'.
  • #209409 by Heine, webernet, dww: more accurate register globals value checking

Go get it here.

Site Moved

I've moved all the content off of http://fusion94.org/blog and have imported here into the Damage Studios site. It was getting tiring trying to determine where to blog and since the old site was running WordPress and I'm now doing more Drupal related work it made sense to move it into Drupal. Thanks to PathAuto and aliasing about 98% of the old urls redirect properly.

I know that there are some things not quite right but I hope to resolve these issues in the next week or so.

Drupal 6 Release Candidate 2

Drupal 6 RC2 has now been released.

This release is fairly stable and while it may not be ready for a production site it's pretty rock solid.

For more information about this release and/or Drupal 6 please read more here.

PHP 4.4.8 Released

PHP 4.4.8 has now been released.

This release wraps up all the outstanding patches for the PHP 4.4 series, and is therefore the last normal PHP 4.4 release.

For a full list of changes in PHP 4.4.8, see the ChangeLog.

Copyright 2002-2008 Damage Studios