Questions tagged [templates]

The tag has no usage guidance.

9 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
1answer
34 views

Multilingual text not copied when using an event template to create an event

I am running a new multilingual (en & fr) civi site an making extensive use of templates for multiple event types. The templates are created with text in the appropriate language blocks on each ...
2
votes
0answers
25 views

is it possible civicrm templates_c files to be stored under the server /tmp folder?

Has someone tried it? On a 1st try I've noticed extensions stop working. For example if I set define( 'CIVICRM_TEMPLATE_COMPILEDIR', '/tmp/civicrm/templates_c/'); would it work? (instead of ABSPATH.'...
1
vote
2answers
135 views

PHP Fatal error: Smarty error: [in string: (...)]: syntax error: (secure mode) (...) not allowed in if statement (...)

The CiviCRM doumentation describes, how to use Smarty to customize templates for mails and pdf's: https://docs.civicrm.org/user/en/latest/common-workflows/tokens-and-mail-merge/#smarty E.g.: {capture ...
1
vote
0answers
14 views

email template sent instead of actual email

This is a weird one. I wanted to send an email to four specific Contacts, all members of one of our Groups. I searched to display the Group list, selected the four contacts, and gave the action to "...
1
vote
0answers
119 views

Which civicrm hook for Event Registration form field content change in Drupal module?

Preamble: Event Registration Settings form ( civicrm/event/manage/settings?reset=1&action=update&id=EVENT-ID ) has separated text areas for Event Summary/Description ( "Info and Settings" ...
1
vote
0answers
51 views

Extend CiviCRM template in Extension

I am trying to extend the MembershipView.tpl which look like the image below. I have created an extension and added a MembershipView.extra.tpl file to my extension folder and placed it in Template>CRM>...
1
vote
0answers
14 views

How do I change the styles dropdown in message templates

How do I change the style dropdown to have my own personal styles in the dropdown in the message templates?
0
votes
0answers
19 views

Help to build a new email template and update an existing email template that is, will be attached to an Action

Is any anyone free to help with the work on the templates, we have one template we need to amend, make it a single column layout. Then build another template as a copy with blocks in a different order
0
votes
0answers
24 views

Membership renewal receipt template not showing membership start- and end dates

In the membership renewal (online) receipt template, it says, here, https://github.com/civicrm/civicrm-core/blob/master/xml/templates/message_templates/membership_online_receipt_text.tpl#L68 {...