This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- CRM/Report/Form/Activity.php.orig | |
+++ CRM/Report/Form/Activity.php | |
@@ -222,6 +222,16 @@ | |
), | |
), | |
), | |
+ 'civicrm_case_activity' => array( | |
+ 'dao' => 'CRM_Case_DAO_CaseActivity', | |
+ 'fields' => array( | |
+ 'case_id' => array( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
******************************** | |
*THIS IS OLD DON'T USE THIS* | |
******************************** | |
Using php 7.1, drupal 8.6.4, civicrm 5.8.2 | |
Set max_execution_time to 0 in php.ini. Restart httpd. (Not required on a server, but on my dev laptop 30 seconds isn't even close to enough for either the drupal or civicrm installation parts.) | |
Install git. | |
* Might be obvious, but it's not actually mentioned anywhere. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Useful for copying a webpage full of settings from e.g. staging to live for// sites that keep their config in the database and don't have a way// to set things via files.//// Because of browser security this is a two-step process. It doesn't// do the copying, instead it generates javascript code that will set the// fields to the same values.// - Paste the code into the javascript console on the page to be copied.// - Run the code.// - Copy the output in the console log to the code console on the other page.// - Run that.//// Note this doesn't trigger event bindings, so for example for settings pages// that dynamically add fields to forms as you go it won't work perfectly, but// if a field is already on the form just hidden then it will still work.(function($) { var s = ''; $('input[type="text"], textarea, select').each(function() { var t = $(this); var v = t.val(); if (v != "") { s += '$(' + JSON.stringify('#' + this.id) + ').val(' + JSON.stringify(v) + ');' + "\n"; } }); $('input[type |
NewerOlder