I need to adapt Greetings in order to fit to French (which has a feminine and masculine for "Dear"). I read on the forum that I should use Smarty and read the short documentation (CiviCRM documentation) but I haven't understood how to use it :(
Where should the following code come (once adapted of course)? In the email source or in the greetings settings?
{capture assign=first_name}{contact.first_name}{/capture}
Dear {$first_name|default:Friend},
{if $first_name}
Hello, {$first_name}, how are you?
{/if}
My second question is where do I set something like:
WHEN contact_gender IS female THEN contact_greeting IS Chère
Do I have to create any custom fields?
Any help will be very appreciated :)