Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Add this case to authorship_nodeapi
case 'search result':
if ($name_rewrite = _authorship_name_rewrite($node)) {
$temp = $node->name;
$node->name = $name_rewrite;
$node->authorship = $temp;
}
break; // end 'search result'
Comments
Comment #1
matt bAdd this case to authorship_nodeapi
case 'search result':
if ($name_rewrite = _authorship_name_rewrite($node)) {
$temp = $node->name;
$node->name = $name_rewrite;
$node->authorship = $temp;
}
break; // end 'search result'
seems to work for me...
Comment #2
(not verified) commented