Hi Kurund,
Thanks for the quick response. It's my first time using custom templates, so following the documentation here's what I've done.
- Created a 'civicrm_templates' directory in my sites/all folder and made it writable
- Created the following directory structure within the above folder 'CRM\Contact\Page\View' and copied the Summary.tpl file to it.
- added the following to civicrm.settings.php "define( 'CIVICRM_TEMPLATE_COMPILEDIR', '/var/www/vhosts/<mysite>/httpdocs/sites/all/civicrm_templates/' );"
- Removed the following from Summary.tpl
<div class="contact_panel">
<div class="contactCardLeft">
<table>
<tr><td class="label">{ts}Privacy{/ts}</td>
<td><span class="font-red upper">
{foreach from=$privacy item=priv key=index}
{if $priv}{$privacy_values.$index}<br />{/if}
{/foreach}
{if $is_opt_out}{ts}No Bulk Emails (User Opt Out){/ts}{/if}
</span></td>
</tr>
<tr>
<td class="label">{ts}Preferred Method(s){/ts}</td><td>{$preferred_communication_method_display}</td>
</tr>
<tr>
<td class="label">{ts}Preferred Language{/ts}</td><td>{$preferred_language}</td>
</tr>
<tr>
<td class="label">{ts}Email Format{/ts}</td><td>{$preferred_mail_format}</td>
</tr>
</table>
</div>
When I refresh a directory has been created in my custom templates directory alongside CRM called en_US containing lots of sub-directories called %%02 to %%F0, but might changes to the template are not getting picked up.
What am I doing wrong?
Many thanks for any suggestions.
Durruti