If you want to use Authors as part of the citekey automatic generation (with Year of publication and node id), you need the following quick dirty hack in the following function from file biblio.module.
The biblio_authors field is actually the (new?) biblio_contributors field and it is not consistent in the whole code/module.

function biblio_citekey_generate($node) {
  $php = variable_get('biblio_citekey_phpcode', '');
  if (empty($php)) {
    $prefix          = variable_get('biblio_citekey_prefix', '');
    $primary_field   = variable_get('biblio_citekey_field1', 'nid');
    $secondary_field = variable_get('biblio_citekey_field2', 'nid');
    if ($primary_field == 'biblio_authors') {        // hack added
        $citekey = $node->biblio_contributors[1][0]['lastname'] . $node-> $secondary_field . '-' . $node->nid;
        return $prefix . $citekey;
    }
    $citekey = (!empty($node-> $primary_field)) ? $node-> $primary_field : (!empty($node-> $secondary_field)) ? $node-> $secondary_field : $node->nid; 
    // is the above line really correct?
    return $prefix . $citekey;
  }
  else {
    ob_start();
    $return = eval($php);
    ob_end_clean();
    return check_plain(strip_tags((string)$return));
  }
}

Comments

PascalAnimateur’s picture

For a working solution for biblio-7.x, see http://drupal.org/node/1940426#comment-7399008

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.