systopia / de.systopia.signatures

CiviCRM Email Signatures Extension
GNU Affero General Public License v3.0
0 stars 2 forks source link

Print/Merge Smarty error #10

Open nillde opened 4 years ago

nillde commented 4 years ago

Hey,

I tried using the signature token in a word document (.docx) for CiviCRM print/merge. I get a Smarty error and the exported word document cannot be opened.

Aparently, the token returns string that looks like code to Smarty, which produces the error.

I don't have the issue if I use the token in the html editor of print/merge.

Does anyone have an idea how to solve this?

bjendres commented 4 years ago

Hi @nillde. Are you sure your smarty code is correct? If the token returns smarty (instead of the calculated value) something seems wrong...

nillde commented 4 years ago

@bjendres I was thinking the same thing, that some other Smarty code in my document was wrong. So I tried to use a docx with only the signature token {signatures.signature_letter_html} in it but received the error nevertheless.

(Also, the token {signature_letter_html} as mentioned in the documentation doesn't work. If I choose the letter token in the civicrm dropdown, civicrm gives me {signatures.signature_letter_html})

agileware-justin commented 3 years ago

See https://github.com/systopia/de.systopia.signatures/pull/12