Questions tagged [custom-templates]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
14 views

Wrong path for "Custom Template Directory"?

I use CiviCRM with WordPress. I previously migrated my site from Drupal. I noticed today that my "Custom Template Directory", shown in Admin->Settings->Directories, is set to [cms....
Ken Williams's user avatar
0 votes
1 answer
79 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
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
2 answers
20 views

Template for changing text on membership confirmation

There's this text that shows on the membership confirmation page that says: "Select a Membership Level" It looks odd since you're not selecting anything on this page, it's just the ...
Jenni Simonis's user avatar
2 votes
1 answer
34 views

Editing RelationshipSelector.tpl section of a UserDashboard

I'm trying to edit the table row content of the "Your Contacts / Organizations" section of the UserDashboard: It appears that this section of the UserDashboard is controlled by the ...
Kurt Leadley'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
330 views

Create customized "block" in Mosaico

My website is on Drupal. We have preformatted Mosaico templates with header (view in your browser) and footer (social media buttons, organizational address, and unsubcribe options) in English. ...
user7955's user avatar
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
1 vote
1 answer
88 views

Can't load custom template

We need to customise a template called 'Selector.tpl', we have identify this template with debugging on and copied it into /wp-content/uploads/civicrm/templates/ and this directory is declared in ...
Guillaume Sorel's user avatar
2 votes
1 answer
61 views

Thank You page on contribution form. Print option for the PDF that is emailed as "receipt.pdf"

When completing a contribution, an email can be sent out with an attached PDF called "receipt.pdf". Is it possible to have this PDF printable on the Thank You page? I currently have a sloppy ...
Kurt Leadley's user avatar
0 votes
1 answer
32 views

What is the best way to disable the jquery.crmEditable.js file in CiviCRM without modifying the core common.js file?

We have a use case whereby certain users should not be able to edit certain rows of custom data. CSS selectors can hide the "Edit" links for these rows, but the inline editing (i.e. clicking on the ...
Darren's user avatar
  • 751
1 vote
1 answer
54 views

Custom emails automatically generated based on participants filling in drupal forms

Hi to all and thanks in advance. I'm on Drupal 7 and Civi 5.20.2. I have the CiviRules and EmailAPI (CiviCoOp) extensions as well as Mosaico. We have participants to our events that apply for ...
ArisK's user avatar
  • 123
2 votes
1 answer
53 views

Removing elements for non-admin users

There are several instances where I want to remove some buttons, inputs, tabs, etc on various screens for non-admin users. For instance, on the Event Search screen in this template CRM/Event/Form/...
Andy Burns's user avatar
  • 3,681
0 votes
3 answers
46 views

I modified a template file and now can't remember how

Yes I know - very foolish but hoping someone will take pity on me! This is the my screen when entering a contribution or registering for an event while logged in. I customised it to include the text '...
LesleyJill's user avatar
0 votes
1 answer
132 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
0 answers
50 views

Querying participant custom fields in CRM/Event/Form/Participant.tpl

I am trying to add a custom behaviour while editing a participant, so that based on several conditions of what the user had chosen as custom fields in the event's registration form, the confirmation ...
Elad's user avatar
  • 621
2 votes
1 answer
72 views

Event with multiple days - multiple choices

I can't seem to find exactly what I need. So here it goes. We are having our annual meeting, but this year there are essentially 3 events that people can choose to go to and I will need name tags for ...
Deb's user avatar
  • 23
2 votes
1 answer
66 views

launch custom profile from Edit button?

Civi 5.9.1. WordPress 5.0.3 I built a profile for my organization's staff to use when adding an Individual with a specific subtype ("Farmer"). I created a New Farmer menu item under Contacts>New ...
John Mark's user avatar
  • 159
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
1 vote
1 answer
264 views

Mosaico 2.0, Drupal 7.64 - "Sorry an error occurred and your information was not saved"

Installed Mosaico 2.0-beta4 on Drupal 7.64 and CiviCRM 5.7.2. I followed all installation instructions and installed Shoreditch then Flexmailer then Mosaico. I'm getting an error - when I try and ...
josh's user avatar
  • 584
1 vote
0 answers
40 views

How to custom a predefined template file?

I want to add a button into the activity edit tab. Please refer an image. Please provide a sample snippet (Code) for custom template My Snippet CRM .$(function($) { console.log('Form ...
deepak's user avatar
  • 197
2 votes
1 answer
61 views

Create buttons on action from ResultTasks

I´m trying create buttons in ResultTasks.tpl for "show on map" and "export". This actions are in dropdown list with select named "task". I first tried duplicate the select, but it worked only last ...
Vítek Maňásek's user avatar
2 votes
2 answers
2k views

Adding CSS to extra tpl file

I've added CSS to a Summary.extra.tpl file to change reports. But the CSS does not apply. Adding the CSS by itself crashes the report (character encoding issue) so adding the {literal} tag is what I ...
Andy Burns's user avatar
  • 3,681
2 votes
1 answer
34 views

Ignoring a hidden field on event registration form

I have a custom event template on which I hide some fields based on whether someone is registering themselves or an additional participant. There are 2 different price options, one for the main ...
kzburn's user avatar
  • 363
0 votes
1 answer
36 views

Extend templates through the hook file

I have configured the "Custom" folders for templates and PHP following https://docs.civicrm.org/dev/en/latest/framework/templates/extending-smarty/ I created this hook file (and I'm sure it's ...
marcello's user avatar
  • 387
2 votes
2 answers
187 views

Jquery not affecting custom fields of an activity

I have written some jquery (inside an extra template file) that does some simple show/hiding of custom fields in an activity based on user selections. We use it as a helpful tool for users to select ...
RayWright's user avatar
  • 2,488
1 vote
2 answers
75 views

Where can I edit text on pcp page

How do I change this text “This contribution is being made thanks to the effort of [contact name], who supports our campaign.You can support it as well - once you complete the donation, you will be ...
LesleyJill's user avatar
0 votes
1 answer
24 views

Mosaico blocks not staying in place

Mosaico has been loaded for use in CiviCRM 4.6.33 in a Drupal environment. However, when blocks are dragged to create a template they do not stay in place. Has anyone experienced anything similar and ...
SPM's user avatar
  • 71
0 votes
1 answer
45 views

Hide Line items if user is logged in

I am working on an event registration. We need to hide certain price set line items based on various factors. Most are based on previous field response but there is one line item that needs to be ...
KilakwaBT's user avatar
  • 2,341
5 votes
2 answers
94 views

AGPL: Should sites provide public download links for CiviCRM extensions?

I guess this question has a few parts: Are CiviCRM extensions are considered to be modifications of CiviCRM? Are custom file overrides considered to be modifications of CiviCRM? If so, then under ...
TwoMice's user avatar
  • 1,814
0 votes
2 answers
186 views

How can I create custom contribution page (CiviCRM 4.7.25 on Wordpress 4.8?)

I want to create custom contribution page but I don't know how? for creating custom pages is needed any extensions or plugins? the below page is one of the pages that I created I want to delete ...
raha 's user avatar
  • 77
3 votes
1 answer
420 views

how do I create a new template on civicrm / mosaico

Is not a question, i just want to share with you how you can create a new template on civicrm / mosaico! for wordpress: Template directory: /www/yoursite/wp-content/uploads/civicrm/ext/uk.co....
ZeroCool's user avatar
3 votes
1 answer
309 views

How can I customize the "Fatal Error" screen?

I would like to change the language on the "Fatal Error" screen that users occasionally encounter by adding some text specific to my organization. How can I do this?
Sean's user avatar
  • 3,168
1 vote
1 answer
23 views

Images with text in Message Templates in a multilingual installation

I am trying to customize a message template by adding a header image with some text in it. The problem is that my website is in 2 languages and I need that the header image is sent to the user ...
Giovanni's user avatar
0 votes
1 answer
43 views

Civi CRM Expert in Europe wanted

i (Austrian based company) am looking for a CIVI-CRM-Expert in Europe (preferred) for helping with various implementations on a basic level (customizing invoices, create profiles for a kind of ...
Gerald Köllersberger's user avatar
1 vote
0 answers
72 views

Wordpress custom contribution and newsletter signup forms

How customizable are the contribution forms? I have created a standard contribution page from the CiviCRM plugin, but I would like to hammer it into a very stylized design. Alternatively, is it ...
asciimo's user avatar
  • 33
1 vote
1 answer
65 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>...
Imran Omar Bukhsh's user avatar
3 votes
2 answers
137 views

How to include buttons in Civimail

I want to include two buttons in civimail template Accept and Decline. If the user clicks on accept/ decline button, It should notify the administrator with an email.However I can add buttons using ...
preethi's user avatar
  • 67
0 votes
1 answer
110 views

How can I change the way price set information is presented on a contribution page?

Contribution pages showing price set information (i'm using a radio button field with various options to choose from) show the various price option with the label text first, in bold, and then the ...
Graham's user avatar
  • 4,025
0 votes
2 answers
40 views

Custom field data - maintaining uniformity

I want to add Educational information of individuals as custom field set. However I want the data to be entered to be uniform. In our organization, different people will enter data into civiCRM. Some ...
Parthibaraj Rajasekar's user avatar
0 votes
2 answers
67 views

Strip Drupal Page Template from CiviCRM Contribution Page

I want to strip all Drupal navigation etc coming from page.tpl.php for a particular contribution page and all the associated pages of the contribution process. But all just for one contribution page. ...
Shai's user avatar
  • 609
0 votes
1 answer
52 views

How to change the display of case listings to show and/or sort on case ID

My client makes extensive use of cases, and the case ID is an important identifier. CiviCRM tends to downplay the case ID, however, often placing more emphasis on the case subject, which isn't as ...
Graham's user avatar
  • 4,025
0 votes
1 answer
81 views

Modifying Contribution and Event Templates

I am trying to modify the confirmation and final page (not sure of the name) for contributions and events. I want to modify the templates like described in this post - Why does the Contribution page ...
Josh's user avatar
  • 887
2 votes
1 answer
671 views

Custom Report Template

Keep getting message Template not found. Could not find the report template. Make sure the report template is registered and/or url is correct. I followed a guide in setting up a custom report. I ...
Gary Martin's user avatar
2 votes
2 answers
324 views

adding a column to the standard relationships report in Contact Reports

Using the standard relationships report under Contact Reports, I would like to be able to add another column under Contact B. That column would pull the supplemental 1 address field. Using the ...
Gary Martin's user avatar
3 votes
2 answers
287 views

How to add custom templates (tpls) or php files

What is the 'civi' approach to customising templates and php files? (if this question is a duplicate very happy to remove. I just searched for one after reading Error Message Customization
petednz - fuzion's user avatar
  • 28.3k
0 votes
1 answer
49 views

Remove link(s) from an Activity View screen via crmReplace

How should {$form.source_contact_id.html} from \civicrm\templates\CRM\Activity\Form\Activity.tpl be altered so only text remains/ without an URL? smarty escape doesn't seems to be a good idea, ...
yurg's user avatar
  • 2,005
1 vote
1 answer
27 views

How to suppress columns from Manage Group search results

I'm customizing a version of the Manage Groups page. Users don't want to see Description, Group Type, or Visibility. I thought I could just customize a version of Group/Form/Search.tpl . It's easy ...
Mike Steigerwald's user avatar
1 vote
1 answer
108 views

How do I duplicate a mail template [duplicate]

I have an existing email template I have made and now I want to repurpose it for another use while keeping the basic layout. How can I duplicate my original template please?
Nick Horrox's user avatar
2 votes
1 answer
79 views

Switch template in extension

Extension loads and I added the following hook to switch demographics template: function myext_civicrm_alterTemplateFile( $formName, &$form, $context, &$tplName) { switch($tplName) { case ...
ñull's user avatar
  • 1,208