[support] [resolved] Replace username in search result with user alias

Johnny Xiao johnny.xiao at Q1Labs.com
Wed Dec 3 20:03:34 UTC 2008


I have fixed this by adding a customized sql statement



-----Original Message-----
To: 'support at drupal.org'
Subject: [support] Replace username in search result with user alias

I like to replace username in search result with user alias which I
added to user table.

I know that $result['user'] in 
function mytheme_search_result(&$variables) {

contains the username, but I am not sure where I should go to change it
to user alias.

Kewei


More information about the support mailing list