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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 3.1 Release Testing »
  • Change Label for Built In Contact Type
Pages: [1]

Author Topic: Change Label for Built In Contact Type  (Read 3289 times)

excell@drupal.org

  • Guest
Change Label for Built In Contact Type
December 17, 2009, 06:35:01 pm
Hi all, logged into the 3.1 sandbox for the first time and headed directly to Contact Types to see if I could change the label for the Built In Contact Type of "Organization" to "Business".

Success message "The Contact Type 'Business' has been saved."

But - the Contact Type turned red and cannot be found on Search or Add contacts...

What do I do next?

Adding - I thought I would then try to change it back to "Organization" in case it was confusing to anyone else using the sandbox... Still red and Organization not available in Search or Add...
oops! Did I break it ;D
« Last Edit: December 17, 2009, 06:38:15 pm by excell@drupal.org »

Shailesh Lende

  • Guest
Re: Change Label for Built In Contact Type
December 17, 2009, 09:32:22 pm
Hi ,

Actually its a bug introduced in v3.1.beta2.
You can fix this locally by applying following patch at CRM/Contact/BAO/ContactType.php at line no. 545
Code: [Select]
         $contactType->id        = CRM_Utils_Array::value( 'id', $params );
-        $contactType->is_active = CRM_Utils_Array::value( 'is_active', $params, 0 );
+        if ( CRM_Utils_Array::value('parent_id', $params) ) {
+            $contactType->is_active = CRM_Utils_Array::value( 'is_active', $params, 0 );
+        }


This will defiantly get fixed in next version.
Thanks a lot
-Shailesh

vividis

  • Guest
Re: Change Label for Built In Contact Type
January 06, 2010, 01:17:37 pm
I'm having the same issue, I put the patch in and still in red...plz help.

vividis

  • Guest
Re: Change Label for Built In Contact Type
January 06, 2010, 01:19:29 pm
I'm using Joomla 1.5

Shailesh Lende

  • Guest
Re: Change Label for Built In Contact Type
January 07, 2010, 06:05:58 am
Can you please try to replicate this on sandbox http://sandbox.civicrm.org/

vividis

  • Guest
Re: Change Label for Built In Contact Type
January 11, 2010, 08:20:22 am
I tried and it worked the way it was supposed to???? If I messaged u the log on info can u take a look at it for me plz.

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: Change Label for Built In Contact Type
January 11, 2010, 11:47:04 am

u might want to hire someone from:

http://civicrm.org/professional/

to take a look at your site and fix

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 3.1 Release Testing »
  • Change Label for Built In Contact Type

This forum was archived on 2017-11-26.