Moe
  • Member for 2 years, 8 months
  • Last seen more than 1 year ago
CiviCRM Database Upgrade White Screen
Accepted answer
4 votes

After hours of trying to figure out the issue, i have been able to fix this by changing the Theme in Drupal. When i made the Theme into a default theme the upgrade page showed with no issues.

View answer
Unable to get Contact ID to display in Custom Field
Accepted answer
3 votes

I was able to figure this out using the following code: $getSessionArray = CRM_Core_Session::singleton()->get('CRM_Utils_Recent'); $thisContactID = $getSessionArray[0]['id'];

View answer
CiviCRM Status/Connection Show 404 Not Found
Accepted answer
3 votes

The issue was due to the fact i was using FPM applicated server by nginx instead of FPM applicated server by Apache. I am not sure how to find a work around using NGINX but it is working now, thank ...

View answer
Fetch Node data from drupal into CiviCRM
Accepted answer
2 votes

I wasn't able to figure this out so data is Fetched directly into CiviCRM. However, I ended up using Drupal EntityQuery and fetched the data into a webform then Used Javascript PopUp Feature and ...

View answer
CiviCRM Relationship error
Accepted answer
2 votes

The issue was i had rules setup with the wrong values hence why it wasn't working. After disabling the rules i am now able to add relationships. I don't know how it worked but it has.

View answer
Set Default Value for Custom Field
1 votes

With the help of JaapJansma-CiviCooP I was able to make this work using the below code: function dfi_civicrm_buildForm($formName, &$form) { if ( $formName == 'CRM_Contact_Form_CustomData' ) {...

View answer
Get Contact id from Relationship to use in a Hook
Accepted answer
0 votes

This code worked for me: $contactId = CRM_Utils_Request::retrieve('cid', 'Positive');

View answer
Default Value for Custom Field
Accepted answer
0 votes

I did this by using CiviCRM hooks (BuildForm). ($form == CRM_Core_Action::ADD) { $currentDate = date('d/m/Y'); for ($i = 1; $i < 10000; $i++) { $defaults['custom_197_-' ...

View answer