Questions tagged [templates]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
12 views

How can I add a reminder from a template to an event?

In an existing event, if I click on "Reminders" to add one, I only get the option to create a new reminder, but I find no way to use an already existing reminder template. What am I missing?
thoni56's user avatar
  • 1,231
0 votes
1 answer
25 views

unable to load template for CiviEvent Event Management

Has anyone encountered this error from CiviEvent "Manage Events" -> "Configure" -> "Info and Settings"? Sorry, due to an error, we are unable to fulfill your ...
bobl's user avatar
  • 131
0 votes
0 answers
21 views

showHideAutoRenew is not defined?

Got this in the latest CiviCRM 5.69.2, Drupal 10.2.2. while testing an after-upgrade Contribution pages at /civicrm/contribute/transact?reset=1&id=1 Uncaught ReferenceError: showHideAutoRenew is ...
yurg's user avatar
  • 2,005
0 votes
2 answers
88 views

Is it the end of the road for CiviCRM under Windows?

We run CiviCRM under Drupal and Windows/IIS. Having upgraded our test environment to 5.69.2, we found we could not register for events, as we got errors along the lines of: unable to write file <...
Stephen Palmstrom's user avatar
0 votes
2 answers
41 views

Mosaico missing templates

With this fresh install, no templates are installed; the civicrm_mosaico_template table has no rows, although www-t1/web/sites/default/files/civicrm/ext/uk.co.vedaconsulting.mosaico/packages/mosaico/...
David Gould's user avatar
0 votes
1 answer
28 views

Changing the colour of text inside text boxes

As standard after a new install on backdrop, the text on dashboards and some help text is white on a very light background, meaning you can't see it very well. How would I change the colour of the ...
Dan's user avatar
  • 61
0 votes
1 answer
80 views

Undefined array key "merge_same_household"

I'm trying to export contacts from the list in CiviCRM but got a visual warning which does not let me proceed: Warning: Undefined array key "merge_same_household" in /bitnami/wordpress/wp-...
Suri Gang's Hallen's user avatar
0 votes
0 answers
53 views

Problems with file permission and ownership at civicrm/templates_c

I always set my file permissions under the templates_c folder like in the Question to username:www-data and the permissions to 770. It runs fine on other systems, but I have a system which is only ...
gzwg's user avatar
  • 37
0 votes
0 answers
29 views

CIVIEVENT: Templates are saving as events

I am on CIVICRM 5.46.3. I have saved event templates successfully in the past. Now when I add a new event template, it saves it as an event versus a template. I have created and deleted one several ...
Margaret's user avatar
  • 111
2 votes
4 answers
156 views

Mosaico Template List Missing [error] Afform error: cannot process ~/afsearchMosaicoTemplateList/afsearchMosaicoTemplateList.aff.html: malformed enti

Log viewer error [error] Afform error: cannot process ~/afsearchMosaicoTemplateList/afsearchMosaicoTemplateList.aff.html: malformed entity name () Problem I'm having is that when I go to: Mosaico ...
Lester's user avatar
  • 153
2 votes
1 answer
120 views

Undefined array key "rows" in Search.tpl.php when entering "Manage Groups"

The PHP warning appears everytime when a user enters "Manage Groups" (/civicrm/group). The full warning: Warning: Undefined array key "rows" in include() (line 6 of sites/default/...
Tobias Krause's user avatar
3 votes
1 answer
14 views

Putting Contact Tags in Email Template

I would like to add the tags/groups of a contact into the email body of a template. Is there a shortcode that can do this? Thanks in advance!
teivovo's user avatar
  • 31
0 votes
1 answer
30 views

CIVICRM_TEMPLATE_COMPILEDIR / template_c folder becomes too large. How to empty it periodically?

We realized that the folder which is set in CIVICRM_TEMPLATE_COMPILEDIR (in our case as per default: template_c) became way too large. From time to time it grew so much that we needed to empty it ...
Tobias Krause's user avatar
0 votes
1 answer
47 views

Special characters in template

We are using a docx file for a template and are calling the API for variables like first/last name etc. As we are working with a client who has a lot of contacts with special characters in their names ...
jrock's user avatar
  • 23
0 votes
0 answers
21 views

"Current and Upcoming Events" is missing and trying to ICalendar.tpl.php file that does not exist

Ive been thrust into trying to help a buddy fix his civicrm deployment and I cannot find a way to generate this template necessary to populate that page. Looking at the errors it is looking for the ...
NikolaeVarius's user avatar
2 votes
2 answers
43 views

Where should custom "Region" calls be stored?

I'm wanting to add content to a region in EventInfo.tpl. The Docs give this function as an example, but do not clarify exactly where this "CRM_Core_Region::instance('page-body')->add" ...
dsmith63's user avatar
  • 419
1 vote
1 answer
71 views

Custom templates folder

Set the Custom Template Directory and created 3 templates, but CiviCRM loads standard templates. What did I do wrong? Settings in WordPress: Folder:
Rustam's user avatar
  • 39
1 vote
2 answers
52 views

Add new column to table in field 'selector.tpl'?

The purpose is to modify the template by adding new columns.As you can see in screenshot CIVICRM propose Nom "name", courriel "email",Telephone "phone", Action . So i ...
Renaud F's user avatar
0 votes
1 answer
40 views

Can one show participantID on event reminder?

We're intending to use an event's participant ID as a pseudo-registration code, i.e. a quick way for us to correlate who shows up to events. Because of that, we are asking our event participants to ...
Kellen Murphy's user avatar
1 vote
1 answer
51 views

Why do my buttons keep becoming numbers?

After updates our Civi installation (which is within WordPress in case it matters) often switched all buttons to numbers instead of their labels. I presume this might have something to do with ...
Patabugen's user avatar
  • 111
1 vote
2 answers
198 views

Blank screen when using versafix-1 templates

This weekend I migrated my site from one server to another. The htdocs remained the same, just the infrastructure was upgraded. I backed up my sql database and files and restored them in the new ...
Brendan Spaar's user avatar
1 vote
1 answer
32 views

List all Profiles in a group when using "Profile Search Form" as a Joomla menu item

I have a Job Postings profile that gets recorded on a contribution form. The user is then added to a "Job Postings" group. I'd like to have a Profile Search Form on a Joomla page (menu item) ...
Kurt Leadley's user avatar
1 vote
1 answer
4k views

Create array in Smarty template

I want to modify the Smarty template sites/all/modules/civicrm/templates/CRM/Case/Audit/Report.tpl. I want to complement an existing foreach expression with comparing the incoming variable $group....
emma's user avatar
  • 493
0 votes
2 answers
30 views

CIVI mail - URLs inserted directly into an email template do not direct the user to the correct web page

I inserted a url into a CIVI email template - On testing the email, clicking the link which has not changed it re-directs the user to our site and gives an Error 404 page not found. https://www....
Julie Boorman's user avatar
2 votes
2 answers
503 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 ...
Detlev Sieber's user avatar
2 votes
1 answer
47 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 ...
JoJo50's user avatar
  • 21
0 votes
0 answers
25 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
Julie Boorman's user avatar
0 votes
1 answer
23 views

How do I use a hidden column in a custom search template?

I have created a custom search based on relationships. Each row shows a contact and a related organisation in separate columns as well as other info. Each contact is automatically linked to the view ...
lolcode's user avatar
  • 435
0 votes
0 answers
28 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 {...
commonpike's user avatar
  • 1,181
1 vote
0 answers
17 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 "...
David Hyman's user avatar
5 votes
2 answers
54 views

Listing Groups in a mail template

I'm creating an email template to be used to confirm a contact's membership status, and I would like to include a list of the Groups (representing Committees in our case) that the contact belongs to. ...
David Hyman's user avatar
4 votes
2 answers
352 views

What is the preferred way to do Marketing Automation in CiviCRM? CiviMail, Mosaico, Mautic, Forms, Landing Pages etc [closed]

This is more of a discussion point rather than a question, and I'm interested to get peoples views on topic. It's brief as I don't want to make it unreadable and please excuse the rushed ramblings and ...
sjparker's user avatar
  • 465
1 vote
1 answer
37 views

Only !CRM.checkPerm("administer CiviCRM")) conditional works

If I put this (or any JQuery) in an .extra tpl file it works {literal} <script> if (!CRM.checkPerm("administer CiviCRM")) { CRM.$( function( $ ) { $( document ).ajaxComplete(function( event,...
Andy Burns's user avatar
  • 3,681
0 votes
2 answers
36 views

Modifying Relationship.tpl modal

I have custom fields underneath a relationship type that I want to restrict to view only or entirely remove if they are not a specific user. I can make the permissions work so the issue is load order ...
Andy Burns's user avatar
  • 3,681
2 votes
1 answer
27 views

How to select templates

We are running a conference, when sending a receipt to someone how do we select one of the stored templates which we have created e.g late payment? Thanks
user7701's user avatar
0 votes
1 answer
133 views

How can I create mosaico block with 2 button?

I would need a mosaico block with 2 button, is it possible to create? Thanks
Tapash's user avatar
  • 2,992
1 vote
1 answer
38 views

How to show paidby and check_number on Contribution - Receipt (on-line)

CiviCRM 5.16.3 on Drupal 7. I would like to show payment menthods of contribution in template Contribution - Receipt (on-line). I tried to insert $formValues.paidby or $paidby but they show nothing. (...
user9611631's user avatar
3 votes
1 answer
64 views

What data fields are available to me at receipt template

My CiviCRM 5.16. When I try to add fields to receipt template, I discovered that I could add {$line.contribution_id} which shows the record ID of the contribution. But adding {$line.creditnote_id} (...
user9611631's user avatar
2 votes
2 answers
97 views

How can I hide or modify page name

This might more be a Drupal rather than a CiviCRM question but how do I hide or modify the name of a page like in this example? It's CiviCRM home page here.
Guillaume Sorel's user avatar
1 vote
2 answers
93 views

What permissions are needed to edit Mosaico templates?

My guess it that template creation and editing requires Administer CiviCRM - but wanted to check in and see if there was another way. Thanks!
themak's user avatar
  • 3,421
1 vote
2 answers
176 views

Token information not pulling through to Mailing Template

Really hoping you can help with this. We had a security update on Civi yesterday which appears to have caused an issue with how one of our tokens is pulling through to a mailing template. We used a ...
TCVTerry's user avatar
1 vote
1 answer
88 views

How to change or add a header to the "Print PDF Report" action

I would like to add a header of my logo to "Print PDF Report" action when a search or report is generated. Is it something easily achievable? Thanks
Tapash's user avatar
  • 2,992
1 vote
1 answer
69 views

How do I removed accordions in the advanced search

My charity needs a custom address field, rather than the address field that comes with civicrm. This is mostly set up, but there is one issue we have. We have removed the fields from the advanced ...
user6861's user avatar
  • 105
2 votes
2 answers
100 views

Prettify CiviCRM pages

Total newbie. Don't know what I don't know... I am trying Civi with WP. Tried with Joomla. I loved Drupal in another life. :-) Is there a simple way to make the output pages for Civi (like ...
Marse's user avatar
  • 21
2 votes
1 answer
49 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.'...
Stoycho's user avatar
  • 428
1 vote
1 answer
56 views

How to force a field to be mandatory?

I want to make it so that all new contacts must have a contact type. I have found where the contact type is in the templates, and have managed to add the wee * besides it, but I am struggling to find ...
user6861's user avatar
  • 105
2 votes
2 answers
102 views

Event Template Start Date

I created an event template years ago, and when I use this template to create a new event, it auto populates the start date with a very old date. If I edit this event template, the start and end dates ...
spontarelliam's user avatar
1 vote
2 answers
53 views

Can't create new events from template after upgrade to 5.9

I recently upgraded to CiviCRM 5.9, WordPress 5.0.3 and PHP 7.2. Now when I try to create a new event from a template, after clicking 'continue' the template is cloned and I'm thrown into a template ...
Hugh's user avatar
  • 272
0 votes
1 answer
346 views

Where does Mosaico store my templates?

Setting up Mosaico. I have created a new template from one of the existing base templates. I save my new template, which now appears as a 'configured template'. I'd like to tweak the code for this new ...
Graham's user avatar
  • 4,025
4 votes
2 answers
258 views

Invalid document file format - error

I can no longer upload docx or odt files to use as templates. Not sure when it happened but I'm running 5.6.0. I had uploaded files previously and even when downloading that same file and trying to ...
Doug Bedient's user avatar