I want to write a search block which meet this requirement :
If the result only 1 , it will redirect user to special page ( for example ,if i search for user "abc" and only one result is returned, i will redirect user to view the profile of user "abc" )
If there are more than 1, it will list users profile.

Can i do it ?

Comments

gurukripa’s picture

any ideas?