Questions tagged [message-templates]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
7
votes
2answers
675 views

How can I see the available tokens for message templates?

For a page in the browser, we can put &smartyDebug=1 in the URL to see variables in scope for the top level template. How can we do this for message templates?
5
votes
2answers
50 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.
5
votes
3answers
128 views

Attachments in Message Templates

How do I attach documents to a message template? Am I overlooking an "attach" button?
4
votes
3answers
286 views

specific confirmation email for an event?

I would like to send an particular email confirmation for certain events. Is it possible to select a particular model for these events, or must absolutely change the existing model?
4
votes
1answer
79 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 ...
4
votes
1answer
82 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 ...
4
votes
1answer
75 views

PCP confirmation email doen't contain user-login details. [ Drupal ]

After creating a PCP page this email (message template) is sent to user who has contributed and created a PCP page. Dear supporter, Thanks for creating a personal campaign page in support of [...
4
votes
1answer
49 views

CiviCRM Message Templates link changed, cannot find

We recently upgraded to 4.6.3, and the page message templates live at seems to have changed: the link in our menu bar (https://secularstudents.org/civicrm/admin/messageTemplates?reset=1) is returning ...
4
votes
2answers
126 views

Removing Carriage returns after a blank address field?

We have an address block on some pdf templates in CiviCRM some contacts have address2 or address3 lines while other do not. Using the normal tokens we end up getting blank lines and the address block ...
4
votes
1answer
88 views

Message template option missing in send SMS activity in CiviCRM 4.5.8

After upgrading a site to CiviCRM 4.5.8 the drop down template selector is missing in the Send SMS activity. Has anyone else had this problem? I've upgraded the CiviSMS Extension from 1.0 to 2.0, ...
3
votes
2answers
367 views

Error when printing PDF letter or mailing label from search results list

Ran a filtered search for all "regular" members and search returned 379 records. I then wanted to create printable letters for all 379 members. I selected our New Member Welcome Letter as the template ...
3
votes
4answers
214 views

Error message in CiviMail: “Mailing has not been saved, Content maybe out of date, please refresh the page and try again”

After upgrading to CiviCRM 4.7.28 in WordPress, when users are trying to draft mailings in CiviMail using a template (which contains unsubscribe/opt out/resubscribe/subscribe tokens, the {domain....
3
votes
1answer
67 views

How can I add a banner image in the confirmation email for a particular event?

I have already customised the system generated email template with organisation banner & logo, but I am not able to figure out how to add a banner for a specific event which would be different ...
3
votes
2answers
180 views

Editing Recurring Contributions without user login

How do I generate an e-mail with a link to get to the dashboard so the user can edit the credit card details of a recurring contribution, without the user having to have login privileges to get to ...
3
votes
1answer
122 views

Soft credit / honoree info in a token for Thank You letters?

I have hunted and not found anything so I am assuming that this does not exist -- but thought I'd ask just in case. I'd like to be able to reference the soft credit / honoree information in Thank You ...
3
votes
1answer
70 views

Allow user to manage mail templates

I can't find out how to allow a CiviCRM user to manage the mail templates, i.e access /civicrm/admin/messageTemplates ...without giving the "Administer CiviCRM" permission. How can I do that ? I'm ...
3
votes
1answer
36 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 ...
3
votes
1answer
101 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 ...
3
votes
1answer
40 views

Emails templates in the language of the receiver

I am working on a project in Belgium, where they speak French and Dutch. Now I want to send an email in the language of the receiver, using a standard template. Does CiviCRM offer options to support ...
3
votes
1answer
461 views

Adding custom fonts in mosaico

Basicly what it says in the title. How do I add custom fonts within mosaico templates, i.e. how do I make them selectable in the template design process? There is the answer to my question on github ...
3
votes
1answer
205 views

Event Time Zone

My org has events that are often hosted online and participants who register to attend these events live all over the United States. When we create events we make sure to list the timezone in the "...
3
votes
1answer
224 views

Can tokenValue hooks be used in scheduled reminder emails?

I have the same problem as at http://forum.civicrm.org/index.php/topic,32608 I have created a tokenValues hook to fetch the value of a field from a multi-record custom field set. I have the token ...
3
votes
2answers
58 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 ...
3
votes
2answers
62 views

Pass message template id through URL?

We have a unique situation where we've built a Drupal View of CiviCRM contacts and want to provide a link to send an email through CiviCRM. This can easily be done by using: www.mysite.org.uk/...
3
votes
2answers
81 views

Message Template Token limitations

We want to use Message Templates for tailoring our sponsorship renewal invoice reminders. We have multiple sponsorships setup as separate Membership Types with corresponding prices sets. However data ...
3
votes
1answer
160 views

Can't select Mailing Template in CiviMail after upgrading CiviCRM to 4.7.30

After upgrading Civi to 4.7.30 the Template dropdown on the New Mailing screen has disappeared - the only option is to save to a new one: We upgraded from Civi 4.7.29 to 4.7.30 on Joomla 3.8.5, but ...
3
votes
0answers
30 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 ...
3
votes
0answers
144 views

Print PDF and Send to Contact

We currently use CiviEvent extensively for online courses. When a person completes a course, we're able to use our certificate template to print out tokenized PDFs and then send those to the ...
3
votes
0answers
110 views

Modify line height in PDF

I need to adjust the line height on PDF when creating letters. I tried to modify .cke_editable { font-size: 13px; line-height: 1.6em; <- I tried 1em } ...in /sites/all/modules/civicrm/...
2
votes
2answers
212 views

How to check if a contact has an active membership in a smarty template?

Is there a variable that one can use in smarty in a message template to simply determine if a contact has an active membership?
2
votes
3answers
88 views

How do I find a message template?

A lifetime member notified me that they received an automated message their membership had expired (typically sent to those with annual memberships). (As they are not dead) this user type should not ...
2
votes
1answer
130 views

Conditional statements in 'manual' emails or thank you letters

Do conditional statements with tokens not work when you manually send an email or 'print' a thank you letter? I have a bunch set up inside the auto generated emails for contribution receipts or event ...
2
votes
3answers
382 views

Coding of civimail header body and footer - best practice

I've seen several questions about how to use civimail header/footer but can't find a best practice for coding. I know email coding can be hairy especially since clients handle things differently and ...
2
votes
1answer
28 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 ...
2
votes
1answer
121 views

Smarty code not working

Writing as a self-answered question since it may help others... I am adding smarty code to a mail template. Including: {capture assign=designation}{contribution.contribution_source}{/capture} Later ...
2
votes
2answers
147 views

Is there a way to access [civicrm.files] from smarty?

I'd like to replace the default logo in my email templates ({$resourceBase}/i/civi99.png) with a URL that points to a different location where the custom logo won't be overwritten by updates. I can do ...
2
votes
1answer
273 views

Can I customize the auto email for event registration?

Can I customize the auto response message for event registration? Below is a test event I set up and registered for and what was sent, along with a .PDF attachment. The message is what I'm wanting ...
2
votes
3answers
72 views

Pledge payment link does not point to a publicly accessible page

The reminder email for pledge payments includes a link that points to a page on the admin side of wordpress that requires a login. How can I change this setting in CiviPledge to point to a publicly ...
2
votes
2answers
41 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, ...
2
votes
2answers
65 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 ...
2
votes
1answer
55 views

Add Custom CSS to Civi Email

How can i add some custom css to a message template? I want to add it to the header. Is there a file I can edit?
2
votes
2answers
126 views

Can't get action token {action.unsubscribeUrl} to work in Welcome automated message

I've been trying to add unsubscribe and optout functionality to the default "Welcome Message" email template you find under Administer, Header, Footers, and Automated Messages. I don't have HTML ...
2
votes
1answer
75 views

How to have different receipt messages on different donation pages

I have different donation pages and want to have completely different receipt messages sent. You can set up a custom "intro" text for the thank you message, but the bulk of the mail comes from the ...
2
votes
1answer
28 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 ...
2
votes
2answers
39 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 ...
2
votes
1answer
20 views

Customizing foreign language event confirmation email

I have been looking around for a long time, here is what I want to do: I am using Civi on Wordpress in German language. Now also the confirmation emails for event registrations are in German - great ...
2
votes
1answer
143 views

How to use Campaign ID (as a token) in Contribution Invoice/Email Receipt Template

We use Campaign ID (renamed using Word Replacer to "Project ID") to categorize different kinds of contributions. Some come in through online contribution pages, and some are entered manually on ...
2
votes
1answer
69 views

Should a second receipt be sent when payment method is ACH with iATS?

Using the iATS payment extension, credit cards and ACH transactions are going through just like they're supposed to. The only hiccup is that one-time ACH transactions are generating a second 'online' ...
2
votes
1answer
115 views

Email Templates when sending invoices

I have created an email template for when I send out my invoices. I can't seem to integrate it into the invoice email. When I send out my invoices by email in CiviCRM I have the option to add email ...
2
votes
1answer
174 views

Financial Type on Contributions - Receipt (on-line) template

We would like to add the contribution Financial Type to the Contribution (On-line) receipt template, so we communicate clearly to our donors where their money has gone. (Our Financial Types are named ...