CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • "nick name" as part of "display name"?
Pages: [1]

Author Topic: "nick name" as part of "display name"?  (Read 701 times)

narragansett

  • I post occasionally
  • **
  • Posts: 47
  • Karma: 2
  • CiviCRM version: 3.3.5
  • CMS version: Drupal 6.20
  • MySQL version: 5.1.41
  • PHP version: 5.3.2-1
"nick name" as part of "display name"?
February 04, 2011, 04:16:25 pm
I'd like to be able to use the "nick name" field in place of "first name" any time an individual's name is displayed.  Is this possible, and if so, how?

I found this thread that seemed to touch on this topic: http://forum.civicrm.org/index.php/topic,15874.0.html, but nothing happens when I follow the advice given there.

That advice was to change the settings here -> (CiviCRM > Administer > Global Settings > Site Preferences ... Individual Display Name Format).  I replaced "contact.first_name" with "contact.nick_name" & clicked <save>, but nothing happened.

Did I miss something?  Is this the wrong place to accomplish what I want?

Thanks for any help provided.

Jason W

  • I post frequently
  • ***
  • Posts: 197
  • Karma: 12
  • jason@civitrainingtutorials.com
  • CiviCRM version: 4.2
  • CMS version: Drupal 7
  • MySQL version: 5.x
  • PHP version: 5.x.x
Re: "nick name" as part of "display name"?
October 03, 2012, 09:45:41 am
Hello narragansett,

Try going to Administer-->Customixe Data and Screens-->Display preferences. Scroll down to Individual Display Name Format and replace {contact.first_name} with {contact.nick_name}.

Note that if you want to include the nickname in place of the first name when sorting your contacts, this is done on the same page. next to Individual Sort Name Format just replace {contact.first_name} with {contact.nick_name}.

Cheers!
Jason
civiTrainingTutorials
"Helping You Help Others"

rocxa

  • I post occasionally
  • **
  • Posts: 40
  • Karma: 4
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7.34
  • MySQL version: 5.1.71
  • PHP version: 5.3.3
Re: "nick name" as part of "display name"?
January 30, 2015, 06:10:00 am
Can conditional logic be added to this do that display name uses

if(nickname) {
use nickname
} else {
use first name
}

jaapjansma

  • I post frequently
  • ***
  • Posts: 247
  • Karma: 9
    • CiviCoop
  • CiviCRM version: 4.4.2
  • CMS version: Drupal 7
  • MySQL version: 5
  • PHP version: 5.4
Re: "nick name" as part of "display name"?
January 30, 2015, 07:52:19 am
No I don't think that is possible. Or at least not that I am aware of it. If it is possible that would be very nice. However in 4.5 there is a hook to customize display names . So if you are a developer you could write an extension for this.
Developer at Edeveloper / CiviCoop

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • "nick name" as part of "display name"?

This forum was archived on 2017-11-26.