Questions tagged [message-templates]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
37 views

Smarty arrays in message template for Thank You letters

I have Smarty enabled in settings file (on WordPress), and I am able to successfully use Smarty in Thank You letter template as long as I am using regular variables (non-arrays). As soon as I try to ...
user avatar
  • 343
2 votes
0 answers
37 views

How to customize date format in a template?

I'm creating a template for my acknowledgement letters and would like to include today's date and the date of contribution, however both {domain.now} and {contribution.receive_date} generate text ...
user avatar
1 vote
0 answers
16 views

CiviCRM permission edit message templates only applies to email templates not print/merge templates

Can anyone confirm that the edit message template(s) (or edit user-driven message templates) permission only applies to email templates and not also to print/merge templates? Or am I missing a ...
user avatar
  • 2,416
1 vote
0 answers
20 views

CiviRule "Delay Then Send Message" does not include contribution data

Drupal 7.88 CiviCRM 5.41.0 CiviRules 2.41 We have a custom field that is not written to the database in time to be included on the receipts. So my work around is a civirule which sends a Message ...
user avatar
  • 2,252
0 votes
1 answer
31 views

Out of memory and Civi errors relating to templates following upgrade from 5.35.2 to 5.45.1

Wordpress 5.8.3, shared server from SiteGround. We decided to upgrade from CiviCRM 5.35.2 to 5.45.1 in the hope of resolving an issue preventing supporter registration on website. I'm now stuck on ...
user avatar
1 vote
1 answer
76 views

Cannot upload images using CKEditor on message template after 5.45 upgrade

It was all working fine prior to upgrade. Now I am stuck and cannot upload images using message template CK Editor. Keep receiving this message when dragging picture on the window and getting an error ...
user avatar
  • 2,846
2 votes
1 answer
33 views

Can one include tokens within tokens in a Message Template?

I have written a custom Token which contains several standard paragraphs on how to make membership payments to our organisation, which will be included in several Message Templates related to email ...
user avatar
1 vote
0 answers
16 views

inconsistent message template loading

civicrm = 5.42.1 wordpress = 5.8.1 php = 7.4.24 With a contact selected, I can start an action to 'send an email', the pop-up appears and I can open the drop down list and select a template. When I go ...
user avatar
2 votes
1 answer
57 views

Can't get Pretty Workflow Messages to work

I'm trying to use Pretty Workflow Messages to prettify system messages, in particular the subscription messages. I'm running CiviCRM 5.36.1 with PWM 1.2. I've created a special message template and ...
user avatar
  • 958
0 votes
1 answer
14 views

Best practices for translating message templates

As the message templates are quite complex, especially the system-flow templates, with their Smarty templating structures, and they sometimes are updated, you would rather not edit them. But if you ...
user avatar
  • 958
2 votes
1 answer
27 views

Using fields of referenced contacts in message

When I have two contacts that have an employer/employee relationship in CiviCRM I can use the name of the employer in message templates when I sent messages with the {contact.current_employer} tag. ...
user avatar
2 votes
1 answer
21 views

I want someone BCCd to an email genearted by a System Workflow Message

I want to add a CC or BCC email to an email generated by System Workflow Messages. For example, when the "Memberships - Signup and Renewal Receipts" message gets emailed to a donator, I want ...
user avatar
2 votes
1 answer
17 views

Message is localized but message template is not

I received an summary of an activity that looked like this (in Swedish): Åtgärdssammanställning - Telefonsamtal Med kontakt(er) name_10564 Typ av åtgärd Telefonsamtal Ämne Introduktion Obviously ...
user avatar
  • 958
5 votes
1 answer
53 views

Is it possible to have a user that's only capability is to work with Mosaico. Specifically to Create/modify templates

I'm a one man show and this is my first excursion into setting ACLs. I have a volunteer that wants to work with me on creating & editing Mosaico email templates. At some point they may also be ...
user avatar
2 votes
1 answer
75 views

Invalid Currency error when using custom template

I'm creating a custom thank you following the instructions here https://docs.civicrm.org/user/en/latest/contributions/manual-receipts-and-thank-yous/ However the {contribution.total_amount} token is ...
user avatar
  • 453
1 vote
2 answers
37 views

Smarty contribution summary works on one site, but not another on the same server

I have burned hours on this and feel at a wall. Would appreciate some fresh eyes to shed light on new avenues of exploration. I am using "find Contributions" to generate a list of ...
user avatar
  • 565
1 vote
0 answers
34 views

Print/Merge Template Challenge

I have a word doc (ODT) that uses Tokens and works fine when I am in and choose the file from my device to Print/Merge - it creates a beautiful merged document. When I go to message template and ...
user avatar
2 votes
1 answer
38 views

How to provide custom token for subscription related automated messages?

I'm trying to privide a token for mailing related automated messages. I followed the instructions about hook_civicrm_tokens and hook_civicrm_tokenValues but it does only work for "CiviMail" ...
user avatar
1 vote
1 answer
21 views

Hook postProcess doesn't work with message templates form

I'm trying to add a couple of fields to the message templates ("CRM_Admin_Form_MessageTemplates") in a custom extension. I use the "buildForm", "validateForm" and the &...
user avatar
1 vote
2 answers
60 views

Problem with permissions to edit message templates

I have recently upgraded from CiviCRM 5.24 to 5.27.2 (on Drupal 7.72), and a user reports a new problem with editing message templates, specifically the User Message Templates. She can open the ...
user avatar
1 vote
1 answer
44 views

Receipts for FL donors

The state of Florida, USA requires a special statement on contribution acknowledgements & receipts. I am trying to edit the online and offline workflow template so that it will include that ...
user avatar
  • 2,252
4 votes
0 answers
38 views

How to identify which message template is being used?

In my experience of working with CiviCRM, which goes back further than I care to remember, it has often been tricky to identify which message template is being when invoices/receipts/confirmation ...
user avatar
  • 3,664
1 vote
1 answer
23 views

How do i add a new checkbox in message template

I want to display a checkbox when the user clicks upload documents in message template. How should i do it?
user avatar
  • 89
1 vote
0 answers
23 views

Scheduled Reminders don't pick up changes to Templates

We have observed the following behaviour with a Scheduled Membership Reminder using an Email Message Template. When the Template used by a Reminder is edited, the Reminder continues to use the old ...
user avatar
1 vote
1 answer
39 views

"Failed to execute rule" - Civirules error, How to solve?

I have a set of civirules in places, when a contact is tagged it should send a welcome email. But I am keep receiving the following error message in log and welcome email is not sent. It happens for ...
user avatar
  • 2,846
1 vote
1 answer
45 views

How could I restrict view access to message templates

Wordpress. I know I can restrict edit access but I would like to restrict "use". So I can allow some users to send an email but not select a template. (otherwise they can use for instance CEO ...
user avatar
0 votes
0 answers
31 views

How to fix a broken invoice message template?

On a site that I've been looking after for over 10 years (and which therefore has gone through a lot of Civi upgrades, currently on 5.24.x) I've just turned on the invoicing feature. The problem is ...
user avatar
  • 3,664
4 votes
2 answers
71 views

How to set Thank-You Letter template to start the next letter on a new page

Drupal 7.69 CiviCRM 5.20 We use Thank-You letters for our Year-end receipts. We use line-items for our fund accounting. If a donor gives monthly to more than 2 funds, the search result for the letter ...
user avatar
  • 2,252
1 vote
1 answer
37 views

comply with CAN-SPAM in workflow messages

I am using CiviCRM 5.18.4 with WordPress 5.3.2, and residing in the United States, where we are required by law to include certain info (our postal address and an opt-out link) in ALL our emails. I ...
user avatar
2 votes
2 answers
55 views

How to default a pdf print template

Is there a way to set a default Template on the Print/Merge Document screen? I have a common workflow which uses a customised search, which then goes to the Print/Merge Document action (or a clone ...
user avatar
2 votes
1 answer
59 views

Thank-you letter incorrect contribution currency

My setup: CiviCRM 5.20.0 on Drupal 7. I entered contributions in different currencies. In Find Contributions, check some entries. At Actions select Thank-you letter print or email. I put tokens ...
user avatar
  • 127
1 vote
1 answer
50 views

How to email a link to a confidential document in Civi

A client runs several night shelters for the homeless & uses Civi. They want to email a 'daily activity' report to staff & volunteers - the content of which is confidential. All staff & ...
user avatar
  • 4,263
1 vote
0 answers
43 views

Custom field in event - for the message templates

In the Event Information I have new field. There, the organizer can be selected from the CRM. For the message templates I would like to use this information. If the field is filled, the First name / ...
user avatar
  • 23
5 votes
2 answers
60 views

Do any token extensions provide a token for "age" rather than just DOB?

Age is displayed on a contact record but only DOB is a token available in message templates. Are there any extensions that make age available for use? I've not been able to locate anything.
user avatar
1 vote
1 answer
29 views

Where do I change the wording "membership fee total?"

I'm already in the automated workflow templates, but I don't know which variable I need to tinker about with so that I change the wording. I have a recurring recertification, that I'm processing as a ...
user avatar
2 votes
2 answers
98 views

Message Templates Font Color Change

Message Templates I want to specify the color of the text "Status - Send Copy of an Activity" for incoming mail as color code 1f497d. So I want to replace the posts in the table with 1f497d color, ...
user avatar
3 votes
0 answers
52 views

Adding conditional content in message template for emails, but not for PDFs

I'm wondering if it's possible to add some conditional logic in my custom user-driven message template to show some content (in this case, a footer) for messages that are sent as emails, but not to ...
user avatar
4 votes
1 answer
149 views

Send different event confirmation emails

I have setup 2 different events. I would like to send different confirmation emails for the events with the relevant information. This hasn't been an issue before because I have only ever ran 1 event ...
user avatar
  • 353
0 votes
1 answer
62 views

wordpress Upgrade 5.2.2 to 5.14 fails with UPDATE civicrm_msg_template error

I've had this problem previously on another site going from 5.2 to 5.10 and was helped here : "Upgrade 5.2.2 to 5.10.4 fails with UPDATE civicrm_msg_template error" with lines to comment out from CRM/...
user avatar
2 votes
2 answers
63 views

Detail instructions on manually updating message templates (5.9.0 to 5.10.4)

We just updated our CiviCRM (Wordpress) from 5.9.0 to 5.10.4. Prior to the associated database upgrade, I got this message about having to upgrade our customized message templates. I screen copied the ...
user avatar
3 votes
2 answers
90 views

(How) can I add a footer fixed to the page of a message template for printing a pdf?

How can I fix a footer section at the bottom of the page of a Message Template? (no matter whether how much text the user is adding - the footer with our contact and donation account should always be ...
user avatar
  • 645
3 votes
2 answers
87 views

CKEditor can only edit user driven message templates

If I edit a user driven message template, then CKEditor works nicely. If I try to edit a system message template, the template fills only into a textarea, without CKEditor. Since it's done as site ...
user avatar
  • 357
1 vote
1 answer
71 views

{$contribution_aggregate} not outputting in message template

I'm sure I'm missing something basic, but following the various documentation and examples I've seen I can't get {$contribution_aggregate} to actually output the aggregate contributions for a donor, ...
user avatar
4 votes
1 answer
92 views

How do I get the Name and Address on the Invoice to show up in a Window Envelope?

A client recently asked me the following question: I need to be able to mail (postal mail) invoices to our Members. Our pre-printed size 10 envelopes have a window bottom-left. How can I get the ...
user avatar
0 votes
1 answer
45 views

Receipt template formatting (still) broken?

We've upgraded civicrm multiple times the last few years. At a certain point, the receipt templates broke. It stopped showing credit card information and membership start/end date (for membership ...
user avatar
  • 1,157
2 votes
2 answers
101 views

Mailing template not picking up images

Drupal: 7.59 CiviCRM 5.3.2 After Upgrading to 5.3.2 my mail temaplates are no longer showing the images (logo signature) I checked the path in the template and they are correct but the generated PDF ...
user avatar
3 votes
2 answers
155 views

How to include token or variable for Invoice number under the message templates for Memberships - Receipt (on-line)

I need to send Invoice number in the message templates for Membership Receipt Online, but I don't see any token or variables associated for Invoice Number which I can use to place it is there any ...
user avatar
  • 831
2 votes
0 answers
69 views

Billing name not included in message template: Receipt (on-line)

The billing name is not showing in the message template: Events - Registration Confirmation and Receipt (on-line). The template is using $billingName to get the billing name. The billing address ...
user avatar
  • 353
2 votes
2 answers
112 views

Search Custom Template Directory first when using Smarty {include}

I'm sure this is easy but the answer has escaped me. On a drupal install CiviCRM is installed at: /webtree/mysite/htdocs/sites/www.mysite/modules/civicrm I have a Custom Template File directory set ...
user avatar
  • 133
1 vote
2 answers
36 views

Latest 'Note' field is not being used in the "Profiles - Admin Notification" email template

Was wondering if anyone else has seen this problem and found a fix. I was going to test on the Demo site, http://dmaster.demo.civicrm.org, but I figured I wouldn't be able to receive the email to see ...
user avatar