Questions tagged [custom-templates]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
36 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 ...
2
votes
1answer
35 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 ...
2
votes
1answer
28 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 ...
1
vote
1answer
24 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 ...
1
vote
1answer
95 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 ...
1
vote
0answers
23 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 ...
2
votes
1answer
45 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 ...
1
vote
2answers
96 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 ...
2
votes
1answer
17 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 ...
0
votes
1answer
19 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 ...
2
votes
2answers
64 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 ...
0
votes
2answers
50 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 ...
0
votes
1answer
23 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 ...
0
votes
1answer
36 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 ...
5
votes
2answers
62 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 ...
0
votes
2answers
113 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 ...
2
votes
1answer
181 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....
3
votes
1answer
51 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?
1
vote
1answer
16 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 ...
0
votes
1answer
37 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 ...
1
vote
0answers
57 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 ...
1
vote
0answers
41 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>...
3
votes
2answers
60 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 ...
0
votes
1answer
74 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 ...
0
votes
2answers
31 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 ...
0
votes
2answers
60 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. ...
0
votes
1answer
29 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 ...
0
votes
1answer
58 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 ...
2
votes
1answer
525 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 ...
2
votes
2answers
237 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 ...
3
votes
2answers
199 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
0
votes
1answer
32 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, ...
1
vote
1answer
24 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 ...
1
vote
1answer
42 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?
2
votes
1answer
62 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 ...
1
vote
0answers
16 views

Template customization don't appear on validation errors, query string?

I am looking some code for a customization of a specific contribution page on CiviCRM 4.4 system. An extension is implemented that runs hook_buildForm() which operates on the form based on the ID. The ...
2
votes
1answer
38 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 ...
5
votes
1answer
109 views

Is there a way to customize Activity Type screens?

Trying to customize individual Activity Type displays but couldn't find any info on the proper procedure. I'd like to hide certain fields from certain activity types. For instance, for our food bank ...
3
votes
2answers
220 views

How can I show groups in membership report columns?

I've got the request to display (certain) groups in the membership detail report. A lot has been written over time about customizing reports, and I'm not sure what info is up-to-date. This looks good: ...
10
votes
2answers
595 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 ...
3
votes
2answers
322 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?
4
votes
1answer
323 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 ...
2
votes
2answers
101 views

How do I create contribution pages that record pledges and contributions to households?

I'm using CiviCRM 4.5.8 and am setting it up to handle a three year fundraising campaign for our church. Our church almost exclusively records donations for Households and not for individuals. How ...
2
votes
1answer
34 views

Where do I found the “form action” call in TPLs to an Event?

I need to add a target attribute to the "form action" tag of an Event Registration form, because I need the Confirmation to open in a new window. I'm trying to find the TPL file that inserts the "...
9
votes
4answers
566 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 ...
3
votes
1answer
411 views

How do I add fonts to CiviCRM

My organisation uses a few fairly standard fonts that aren't available in Civi, for mailing labels and letters and auto-response emails etc. - how can they be added?
6
votes
7answers
885 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 ...
20
votes
3answers
659 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 ...