Is there any reason why a custom greeting using smarty wouldn't work anymore on recent versions of CiviCRM:
{if "{contact.gender}"=="Femme"}Chère{ }{contact.first_name}{elseif "{contact.gender}"=="Homme"}Cher{ }{contact.first_name}{/if}
was working smoothly until recently on both WP and Drupal?
I don't understand what happened :-/
Of course Smarty is enabled :
if (!defined('CIVICRM_MAIL_SMARTY')) { define( 'CIVICRM_MAIL_SMARTY', 1 ); }