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 ...
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 ...
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! ...
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-...
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.
1
vote
Accepted
dataTable paging and inline field edit
DataTables are deprecated, but
you can configure a SearchKit display with inline edit.
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 ...
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 ...
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 ...
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 ...
1
vote
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 ...
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.
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
datatables × 18database × 6
custom-fields × 4
contacts × 2
duplicate-contacts × 2
javascript × 2
ajax × 2
jquery × 2
wordpress × 1
extension × 1
joomla × 1
upgrade × 1
error × 1
groups × 1
mysql × 1
issues × 1
search-results × 1
multisite × 1
fields × 1
migration × 1
performance × 1
contact-view × 1
error-page × 1
summaryfields × 1
php7 × 1