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 CiviEvent (Moderator: Yashodha Chaku) »
  • Substituting null contact name with common noun
Pages: [1]

Author Topic: Substituting null contact name with common noun  (Read 450 times)

anorthite

  • I’m new here
  • *
  • Posts: 17
  • Karma: 0
  • CiviCRM version: 4.5.8
  • CMS version: Drupal 7.34
  • MySQL version: 5.3.12-MariaDB
  • PHP version: 5.4.20
Substituting null contact name with common noun
November 17, 2012, 10:20:35 am
How can civicrm be setup to substitute a blank contact name with a common noun like "subscriber"?

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Substituting null contact name with common noun
November 17, 2012, 10:26:58 am
Not sure what is the need, but you can use hooks (pre save) to update the last_name field when you want.

That would mean writing an extension (using civix)
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Substituting null contact name with common noun

This forum was archived on 2017-11-26.