I created a custom field set and a custom field used for memberships. Now i would like to insert the data from the custom field into my e-mail template. So i tried to find the custom field id by going to the edit custom field page:
?option=com_civicrm&task=civicrm/admin/custom/group/field&reset=1&action=browse&gid=4
So i presume that the the id is membership.custom_4 (???) However when i add another Custom Field in the same group, I also find the same id. So it looks like the id that i find is from the Custom Field Set.
My question/problem is: what is the correct way to find out the custom field id and what is the correct syntax for this membership custom field within Smarty
When using the following code in the e-mail, the mail is not sent and the interface hangs forever. I only use plain text e-mail for testing.
{capture assign=lic}{membership.custom_4}{/capture}
{$lic}