Questions tagged [custom-templates]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
10
votes
4answers
686 views

How can I include a custom template file in an email template using smarty?

Details We would like to create a standard header and footer for our email templates. Rather than pasting the custom HTML in the top of each system email template we want to override, it would be ...
21
votes
3answers
852 views

How can I disable households?

Our organization does not use households. As a training/usability issue for our volunteers, we would like to disable the concept entirely or at least hide them from view. There does not appear to be a ...
10
votes
2answers
734 views

Where to modify billing information form ≥ 4.6?

One of the first things we're asked to change in any installation is the billing block: Nothing too fancy, just some changes to layout and labels, usually yielding something along the lines of This ...
6
votes
1answer
424 views

Can I create a custom System Workflow Message for a particular Contribution Page?

I need to create a custom system workflow message for Contributions - Receipt (on-line) that will be used instead of the default template when a particular contribution page is used. I already ...
6
votes
7answers
962 views

How can I add/rearrange custom fields in the default contact view template?

We would like to rearrange the output of custom fields on the basic contact view page (in Drupal, /civicrm/contact/view?cid=NNNN&reset=1) in CiviCRM 4.5 on Drupal 7. Specifically, since this is a ...
2
votes
2answers
297 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 ...
4
votes
2answers
383 views

Can I override core classes or PHP files with custom versions?

Can I override core behavior of CRM/SMS/Providers.php by creating the file with the changes in my civicrm_custom_php directory?
3
votes
2answers
263 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
1
vote
1answer
62 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. ...
0
votes
1answer
43 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, ...
2
votes
1answer
50 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/...
2
votes
1answer
42 views

Requiring "Assigned" and "Target" contacts when recording Activity

When creating a new Activity record, I need to require the "With contact" and "Assigned to" fields have a contact selected. In the activity/form/activity.php file I can add 'required'=>TRUE to the ...
1
vote
1answer
222 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 ...
0
votes
1answer
91 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 ...