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) »
  • Allowing more than one address of a particular location type?
Pages: [1]

Author Topic: Allowing more than one address of a particular location type?  (Read 859 times)

malks

  • I post occasionally
  • **
  • Posts: 81
  • Karma: 7
  • CiviCRM version: 3.4.x 4.x
  • CMS version: Drupal 6.22
  • MySQL version: 5.1.x
  • PHP version: 5.3.x
Allowing more than one address of a particular location type?
April 26, 2012, 05:22:32 pm
Hi,

The requirement is that the customer would basically like to enter multiple addresses of the same type against an individual. The use case is that they are practitioners that "work" at multiple venues and are sharing the address of these venues. They're all work addresses and should be classified as such, but when they try and save it they're getting:

Code: [Select]
Location type Work has already been assigned to another address. Please select another location type for this address.
I suspect this is as designed, but just checking to see if there is anything that I may have missed.

Regards.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Allowing more than one address of a particular location type?
April 27, 2012, 06:44:46 am

yes, this is as designed. You'll need to make somce code modifications to fix this

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Allowing more than one address of a particular location type?
April 27, 2012, 04:48:43 pm
alternatively you could just add some new location types called Work1, Work2, Work3 etc but may not meet all your requirements
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

malks

  • I post occasionally
  • **
  • Posts: 81
  • Karma: 7
  • CiviCRM version: 3.4.x 4.x
  • CMS version: Drupal 6.22
  • MySQL version: 5.1.x
  • PHP version: 5.3.x
Re: Allowing more than one address of a particular location type?
April 29, 2012, 04:22:31 pm
Thanks for the feedback Lobo. I'll pass that on to the client.

planetwebb

  • I post occasionally
  • **
  • Posts: 62
  • Karma: 2
  • CiviCRM version: 4.5.8
  • CMS version: Joomla 2.5.28 / Drupal 7.34
  • MySQL version: 5.5.34-cll-lve
  • PHP version: 5.3.22
Re: Allowing more than one address of a particular location type?
November 17, 2013, 11:38:45 am
My use case is HQ with branches (many).  I originally thought to use a single organization (for HQ) and use the address name field to denote each branch with their respective address.  I like this approach but it is not practical to make branch1, branch2, etc. so it seems my only other option is to use relationships to link discrete organization entries for each branch.

Wondering if anyone approached this differently...

Thanks!

penguintrax

  • I post frequently
  • ***
  • Posts: 230
  • Karma: 2
  • CiviCRM version: 3.3x and 4.x depending on site
  • CMS version: Joomla 1.5 or 1.7 depending on site
  • MySQL version: 5.0.92-community
  • PHP version: 5.2.17
Re: Allowing more than one address of a particular location type?
November 18, 2013, 10:43:44 am
Is there a restriction on how many locations can be displayed in a front-end profile listing in Joomla 2.5?

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Allowing more than one address of a particular location type?

This forum was archived on 2017-11-26.