Fix for Fix for YesCT make an acronym

  1. $subject = $node->field_groupname[0]['value'];
  2. $mywords = preg_split('[ /]', $subject, -1 PREG_SPLIT_NO_EMPTY);
  3. $matches = "";
  4. foreach ($mywords as $aword) {
  5.  $matches = $matches . $aword[0][0]; }
  6. return array(
  7.   0 => array('value' => $matches)
  8. );

Submit Fix

Any tags you'd like to associate with your code, delimitered by commas (example: Views, CCK, Module, etc).
Select the syntax highlighting mode to use.