title says it all

Comments

cdavidson’s picture

Until an official fix is released, a quick change to biblio/biblio_style_apa.inc, lines 70-79 does the trick:

function _apa_format_author($author) {
  $format = $author['prefix'] . ' ' . $author['lastname'] . ', ';
  $format .= !empty ($author['firstname']) ? ' ' . substr($author['firstname'], 0, 1) . '.' : '';
  $format .= !empty ($author['initials']) ?  ' ' . substr($author['initials'], 0, 1) . '.' : '';
  $format .= (strlen($author['initials']) > 1) ? ' ' . substr($author['initials'], 2, 1) . '.' : '';
  $format .= (strlen($author['initials']) > 3) ? ' ' . substr($author['initials'], 4, 1) . '.' : '';

  if ($author['prefix'] == 'al.et') $format = "et al.";
  return $format;
}

Great module!

Liam Morland’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

This version is no longer maintained. If this issue is still relevant to the Drupal 7 version, please re-open and provide details.