Skip to main content
3 votes
Accepted

How can I refresh a custom data tab in the contact summary?

I think you can set something in postProcess hook to reload the tabs possibly below code but not sure, it does work for us when we update something in a form we update the contribution tab using below ...
Pradeep Nayak's user avatar
2 votes
Accepted

How can I alter DataTable defaults / attributes without overriding core files?

You can alter any DataTable table through it's API as long as you are in Civi's jQuery context (CRM.$) You could use hook_civicrm_alterTemplateFile or hook_civicrm_buildForm for example to load your ...
Eli Lisseck's user avatar
2 votes

Redundant Indexes

To reduce apparently "unanswered" questions... The answer here is: yes, you're right, good catch! The suggestions that relate to CiviCRM core have been acted upon, thanks for contributing! ...
artfulrobot's user avatar
  • 3,932
2 votes

How can I refresh a custom data tab in the contact summary?

So to enhance on the answer from Pradeep, here is what I have done: function myextension_civicrm_postProcess($formName, &$form) { if ($form instanceof CRM_Contact_Form_Inline_Email) { $form-...
ErikH - CiviCooP's user avatar
1 vote

Creating a Staging environment - getting a no such table error

I digged a bit deeper and found that my backup/restore software does NOT recreate the table views! I will need to resolve that manually.
Norm Dressler's user avatar
1 vote
Accepted

dataTable paging and inline field edit

DataTables are deprecated, but you can configure a SearchKit display with inline edit.
Coleman's user avatar
  • 19k
1 vote

CiviCRM on WordPress wont Install Issue

Seems like your Civi MySQL database user does not have sufficient privileges attached to it to allow it to install Civi. This link here should provide you with the information that you need. It is ...
P Joseph's user avatar
  • 349
1 vote
Accepted

Ajax error with Manage Groups after upgrading to PHP 7.3, MySQL 8.0 and 5.22.0

MySQL 8 isn't officially supported yet. This particular problem should be fixed in 5.23 though since it's the word "groups" that mysql 8 doesn't like - see https://lab.civicrm.org/dev/core/issues/1143 ...
Demerit's user avatar
  • 24k
1 vote

On the Campaign dashboard I would like to prevent one specific type from being listed

There lots of screen that uses datatable to retrieve list of results which do not support any hooks to manipulate results or add additional clause or columns. We have altered the ajax request post/get ...
Pradeep Nayak's user avatar
1 vote
Accepted

Created and Last Change Data

It's in civicrm_log. Entity_id matches civicrm_contact.id and entity_table='civicrm_contact'. Modified_id is the contact id of who modified it. Or if you have detailed logging turned on there's also ...
Demerit's user avatar
  • 24k
1 vote

Created and Last Change Data

It's in the civicrm_contact table
Xavier's user avatar
  • 10.2k
1 vote

How to modify a custom field DataTable (sorting and appearance) from an extension?

I managed to sort on the first column of a dataTable like this: In the main file of your extension, add the code to add a javascript file. I used the hook "civicrm_alterTemplateFile" for ...
AlainB's user avatar
  • 564
1 vote

DataTables warning with dedupe on find & merge (after upgrade to 4.7.18)

There's a fix for this issue in https://github.com/civicrm/civicrm-core/pull/10503. Hope this will be included in 4.7.21.
jitendra - fuzion's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible