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) »
  • Relationships disabling
Pages: 1 [2]

Author Topic: Relationships disabling  (Read 3428 times)

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Relationships disabling
June 22, 2012, 10:30:36 am
For the checkSimilar, can you be sure there is a

Code: [Select]
define( 'CIVICRM_CONTACT_AJAX_CHECK_SIMILAR' , 1 );
in your civicrm.settings.php ?
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

ryeradio

  • I post frequently
  • ***
  • Posts: 185
  • Karma: 1
  • CiviCRM version: 4.2.1
  • CMS version: Drupal
  • MySQL version: MySQL5
  • PHP version: PHP5
Re: Relationships disabling
June 22, 2012, 11:15:00 am
Yes that code is there. define( 'CIVICRM_PROFILE_DOUBLE_OPTIN', 1 );

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: Relationships disabling
June 22, 2012, 12:10:59 pm

Note that in 4.1 most of these constants have been moved to the UI

http://drupal.demo.civicrm.org/civicrm/admin/setting/preferences/display?reset=1
http://drupal.demo.civicrm.org/civicrm/admin/setting/preferences/mailing?reset=1

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

ryeradio

  • I post frequently
  • ***
  • Posts: 185
  • Karma: 1
  • CiviCRM version: 4.2.1
  • CMS version: Drupal
  • MySQL version: MySQL5
  • PHP version: PHP5
Re: Relationships disabling
June 22, 2012, 01:23:40 pm
Donald is this something I need my hosting company to look at then? Or should I be able to tweak something on my end?

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: Relationships disabling
June 22, 2012, 02:13:40 pm

You can do this via the UI in 4.1

Please click on the links to see how it looks on the demo site

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

ryeradio

  • I post frequently
  • ***
  • Posts: 185
  • Karma: 1
  • CiviCRM version: 4.2.1
  • CMS version: Drupal
  • MySQL version: MySQL5
  • PHP version: PHP5
Re: Relationships disabling
June 25, 2012, 04:46:49 am
Hi Donald,
I looked at the links, but I am not sure what I need to do to set the current employer. Can this be done through the UI? I am getting a cid is not defined error when the contact edit screen is loaded.

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: Relationships disabling
June 25, 2012, 06:27:37 am

sorry for the miscommunication.

my replies were only with regard to the constant settings people mentioned on the thread. These can now be set via the UI

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

ryeradio

  • I post frequently
  • ***
  • Posts: 185
  • Karma: 1
  • CiviCRM version: 4.2.1
  • CMS version: Drupal
  • MySQL version: MySQL5
  • PHP version: PHP5
Re: Relationships disabling
June 25, 2012, 10:06:58 am
Hey no problem. Do you have any ideas why I am getting the cid is not defined error on my edit contact load? I believe this is what is causing my current employment to not show up when I go into edit mode. Am I missing a line of code somewhere?

ryeradio

  • I post frequently
  • ***
  • Posts: 185
  • Karma: 1
  • CiviCRM version: 4.2.1
  • CMS version: Drupal
  • MySQL version: MySQL5
  • PHP version: PHP5
Re: Relationships disabling
June 27, 2012, 12:35:48 pm
It looks like the var checkSimilar is not set to anything. var checkSimilar = ; When I look at the demo version it is set to 1. Do you think that is what the issue is? I do see  define( 'CIVICRM_CONTACT_AJAX_CHECK_SIMILAR' , 1 ); in the civicrm.settings.php. Do you think it is not finding this file for some reason?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Relationships disabling
June 27, 2012, 01:13:36 pm
In 4.1 that value should be derived from a setting stored in DB (no longer uses value in settings file). Go to Administer > Customize > Display Preferences. Check the "Check for Similar Contacts" checkbox.
Protect your investment in CiviCRM by  becoming a Member!

ryeradio

  • I post frequently
  • ***
  • Posts: 185
  • Karma: 1
  • CiviCRM version: 4.2.1
  • CMS version: Drupal
  • MySQL version: MySQL5
  • PHP version: PHP5
Re: Relationships disabling
June 27, 2012, 01:55:58 pm
Yay!!! Thank you so much Dave!! That worked:)

Pages: 1 [2]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Relationships disabling

This forum was archived on 2017-11-26.