New answers tagged

2

Finally, I solved the problem like this: sites/all/modules/civicrm/templates/CRM/Case/Form/ActivityTab.tpl -> add another cell to the activity table: <th data-data="document_links" data-orderable="false" class="crm-case-activities-status">&nbsp;Dokumente </th> sites/all/modules/civicrm/CRM/Case/Selector/...


1

It's in CRM/Case/Selector/Search.php in addCaseActivityLinks(). But on a more general note, between this and your other questions there's a lot of customizing going on and it may make upgrading difficult. At some point you might want to consider something like webform to customize forms or even going full custom and making your own pages/forms in an ...


1

you need to create an extension and use the buildForm hook. More information on creating an extension can be found here: https://docs.civicrm.org/dev/en/latest/extensions/ More information on the buildForm hook: https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_buildForm/ This contains an example of adding a field. Another example of adding a field ...


3

If I'm understanding correctly, all you need to do is make an extension and call CRM_Core_Resources::singleton()->addStyle() in hook_buildForm as described at https://docs.civicrm.org/dev/en/latest/framework/resources/#css-stylesheets since activities with priority urgent already get class priority-urgent added to the <tr> element in the table that ...


1

This method works for me: {assign var=visible_fields value=','|explode:'value1,value2'} <div>Visible fields var: {foreach from=$visible_fields item=foo} <div>Element is {$foo}</div> {/foreach} </div>


1

sites/default/files/civicrm/templates_c is where temporary compiled files live. You could try instead editing templates/CRM/Case/Form/CaseView.tpl but there is no such thing as hasAccessToMyCases (where you've just replaced "All" with "My") so you'd need to use something else. But also note this will break when you upgrade since the file ...


Top 50 recent answers are included