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) »
  • Merge contacts for mailing labels
Pages: [1]

Author Topic: Merge contacts for mailing labels  (Read 604 times)

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Merge contacts for mailing labels
October 04, 2010, 07:19:22 pm
I was recently asked to look into why a customer's merged (merge contacts by same address) mailing labels only give one of the recipients names. I found that the answer was in

civicrm/admin/setting/preferences/address?reset=1

in the top box.

Changing it from
{contact.individual_prefix}{ }{contact.first_name}{ } etc to

{contact.individual_prefix}{ }{contact.addressee}{ }

caused the lables to take advantage of the code that says to write John & June Smith or John White and June Black on the labels as appropriate. This seems to me like it should be the default or that clever code is ignored. However, neither in the new install I'm working with or the one that was upgraded through the ranks was the {contact.addressee} field present in the mailing labels - I'm thinking it should be....

Eileen
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Merge contacts for mailing labels
October 04, 2010, 07:22:05 pm
Ah, how strange - it is as it should be on the sandbox.
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Merge contacts for mailing labels
October 05, 2010, 02:05:32 pm
The default values for that field (civicrm_preferences.mailing_format) where changed a while back when the addressee property was added. I'm not sure what was done for upgrades - often we don't modify preferences during upgrade since we don't know what changes from default were already made.

For a new install, the default for that field should like look this:
Code: [Select]
{contact.addressee}
{contact.street_address}
{contact.supplemental_address_1}
{contact.supplemental_address_2}
{contact.city}{, }{contact.state_province}{ }{contact.postal_code}
{contact.country}

This default is defined in civicrm/xml/templates/civicrm_navigation.tpl and moved into civicrm_data.mysql for distributions. Seems to be present in the current 3.2 version of that file - so not sure why a new install would NOT be initialized properly ???

Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Merge contacts for mailing labels

This forum was archived on 2017-11-26.