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) »
  • Adding text to Mailing Label Format
Pages: [1]

Author Topic: Adding text to Mailing Label Format  (Read 1134 times)

AndyHarkness

  • I post occasionally
  • **
  • Posts: 49
  • Karma: 0
    • Andy's Blog
  • CiviCRM version: 4.5.0
  • CMS version: Wordpress 4.0
  • MySQL version: 5.1.61
  • PHP version: 5.3.3
Adding text to Mailing Label Format
January 22, 2013, 08:18:22 am
Is it possible to add text to a mail label format? I want labels to print County Dublin instead of just Dublin. By default {contact.state_province_name} gives me the "Dublin" part... how could I make it so that I get "County Dublin"? I'm guessing there is not a way of adding text?

I thought there was an outside chance that {County }{contact.state_province_name} might give me "County Dublin", but it only gives me "Dublin" .

Any suggestions would be appreciated.

Tony Horrocks

  • I post occasionally
  • **
  • Posts: 110
  • Karma: 7
    • Fabriko Limited
  • CiviCRM version: 4.5.x
  • CMS version: Drupal 7
Re: Adding text to Mailing Label Format
January 22, 2013, 08:21:07 am
I must admit I find the labeling functions in CiviCRM quite difficult.

I personally find it quicker to do a Advanced Search and then export my label data as a CSV file.

Then I can bung it into Word or something which has better ways of customising and handling labeling printing.

Tony Horrocks
Author of the CiviCRM CookBook https://www.packtpub.com/web-development/civicrm-cookbook

AndyHarkness

  • I post occasionally
  • **
  • Posts: 49
  • Karma: 0
    • Andy's Blog
  • CiviCRM version: 4.5.0
  • CMS version: Wordpress 4.0
  • MySQL version: 5.1.61
  • PHP version: 5.3.3
Re: Adding text to Mailing Label Format
January 22, 2013, 08:32:33 am
Hi Tony... we meet again!

Turns out I was being a bit hasty in saying you cannot add text. I just had to drop the curly brackets:

County {contact.state_province_name}

claredotcom

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 4.1
  • CMS version: wordpress 3.3
  • MySQL version: 5.0.15
  • PHP version: 5.3
Re: Adding text to Mailing Label Format
December 12, 2013, 04:21:59 am
Thanks for that - but which file do you amend?

Cheers!
Clare.

JonGold

  • Ask me questions
  • ****
  • Posts: 638
  • Karma: 81
    • Palante Technology
  • CiviCRM version: 4.1 to the latest
  • CMS version: Drupal 6-7, Wordpress 4.0+
  • PHP version: PHP 5.3-5.5
Re: Adding text to Mailing Label Format
December 12, 2013, 07:14:39 am
Clare,

No need to amend a file - just amend the addressee format under Administer menu -> Communications -> Addressee Formats.
Sign up to StackExchange and get free expert CiviCRM advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Adding text to Mailing Label Format

This forum was archived on 2017-11-26.