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) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • edit in place update of first-name/last-name - should it update display name?
Pages: [1]

Author Topic: edit in place update of first-name/last-name - should it update display name?  (Read 747 times)

andersiversen

  • I post occasionally
  • **
  • Posts: 76
  • Karma: 1
  • CiviCRM version: 4.4.4
  • CMS version: Drupal 7.26
  • MySQL version: 5.5.32
  • PHP version: 5.3.10
edit in place update of first-name/last-name - should it update display name?
September 06, 2013, 06:39:12 am
Hi

I've enabled edit-in-place for some fields in a drupal views table, and it works just fine.

I am wondering though what to do with the display name and sort name, when I edit the first-name and last-name fields, because the changes aren't reflected in display name and sort name.
Shouldn't it also update display name and sort name if I use edit-in place on first-name and last-name fields?

Should I create a job to run with cron that updates the display name and sort name? Or extend the crm-editable script to do it?

Will something go wrong if the changes aren't reflected?

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: edit in place update of first-name/last-name - should it update display name?
September 06, 2013, 10:18:27 am
I'm not familiar with civi-views edit-in-place. How does it work? If it uses the CiviCRM api then the display name ought to be updated automatically when changing first or last name.
Try asking your question on the new CiviCRM help site.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • edit in place update of first-name/last-name - should it update display name?

This forum was archived on 2017-11-26.