7 votes
Accepted

How can I customize the "Fatal Error" screen?

You can configure CiviCRM to use a customized "fatal error" screen by following the steps below. You may want to include specific site administrator contact information or other problem resolution ...
Sean's user avatar
  • 3,168
6 votes
Accepted

How to include buttons in Civimail

How about link your two buttons to two different URLs (confirmation pages) "Thank you for voting yes"; "Thank you for voting no" and use the CiviMail track open/click through feature to see which ...
KarinG - Semper IT's user avatar
5 votes

Civi CRM Expert in Europe wanted

Please refer to this link https://civicrm.org/partners-contributors to get/contact a CiviCRM expert in your area
Kboy's user avatar
  • 1,116
5 votes
Accepted

Editing RelationshipSelector.tpl section of a UserDashboard

The section is generated using the datatable, and data is called using ajax method. You could use ajaxsuccess to call after the data is retrieved from ajax.
Pradeep Nayak's user avatar
4 votes

How can I show groups in membership report columns?

The current correct way to create a custom report is to use an extension, rather than the manual process linked to in the question. Updated documentation for creating a report extension is found here:...
Jude Hungerford's user avatar
4 votes
Accepted

Adding CSS to extra tpl file

You might be able to do it with css but I might use jquery instead: {literal} <script type="text/javascript"> CRM.$(function($) { $('#s2id_groups').hide(); }); </script> {/literal} The ...
Demerit's user avatar
  • 22.5k
4 votes

Adding CSS to extra tpl file

There are 3 solutions on how to achieve this 1 - Adding Javascript in tpl file as mentioned by Demerit {literal} <script type="text/javascript"> CRM.$(function($) { $('.crm-report-form-...
Pradeep Nayak's user avatar
4 votes
Accepted

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

This could potentially be done via Word Replacement - so check there too.
petednz - fuzion's user avatar
  • 28.2k
4 votes
Accepted

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

You can create a profile with the fields you want to display as a column and set the 'Default Contact Search Profile' in Search Preferences (CiviCRM >> Administer >> Customize Data and ...
Pradeep Nayak's user avatar
3 votes

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

Can you please edit your question to add your CMS and CiviCRM version. Depending on your CMS there may be other options for customization. The yellow section only appears when a user is logged in to ...
KilakwaBT's user avatar
  • 2,341
3 votes
Accepted

how do I create a new template on civicrm / mosaico

Thanks for this - it helped me out. I believe the second part of your answer is no longer valid. The new place to reference your template seems to be in: uk.co.vedaconsulting.mosaico/CRM/Mosaico/BAO/...
LarryFisherman's user avatar
3 votes
Accepted

adding a column to the standard relationships report in Contact Reports

As ErikH stated it is always good practice to create a new extension or create a custom folder to override core files So In order to add a supplement address in the report you need to add a new ...
Ramesh - ARTECH Consultancy's user avatar
3 votes

How to suppress columns from Manage Group search results

I just learned how to use bVisible = false to suppress columns. I found what I needed at http://legacy.datatables.net/usage/columns, the columns documentation for datatable plugin.
Mike Steigerwald's user avatar
3 votes
Accepted

Jquery not affecting custom fields of an activity

In some CiviCRM pages/forms custom fields are loaded/reloaded via AJAX (you will notice that if you have a set of custom fields based on Activity type, the custom fields update/reload when changing ...
Andrei's user avatar
  • 2,321
3 votes
Accepted

How to force a field to be mandatory?

Welcome to SE, You can set contact type mandatory by using hook_civicrm_buildForm something like below function extension_civicrm_buildForm($formName, &$form) { if ('CRM_Contact_Form_Contact' ==...
Pradeep Nayak's user avatar
3 votes
Accepted

Event with multiple days - multiple choices

The feature you're looking for is called price sets - in combination with the "multiple register participants" feature. Set up the price set with Events menu » New Price Set. See screenshot 1 below. ...
Jon G - Megaphone Tech's user avatar
3 votes
Accepted

Custom emails automatically generated based on participants filling in drupal forms

The list of tokens you see when editing a template changes depending on where you're editing from. Unfortunately, CiviRules doesn't expose event/participant/contribution tokens in the drop-down - but ...
Jon G - Megaphone Tech's user avatar
3 votes
Accepted

Can't load custom template

The Selector.tpl is placed wrong hence its not invoked. It should follow exact path of CiviCRM core module For example if the Selector.tpl in Core is placed under plugins/civicrm/civicrm/templates/CRM/...
Pradeep Nayak's user avatar
3 votes

Create customized "block" in Mosaico

It is possible to define custom blocks to mosaico templates. To do this, you have to create an extension that provides a custom base template and implements the hook_civicrm_mosaicoBaseTemplates hook ...
akosgarai's user avatar
  • 283
3 votes

Where should custom "Region" calls be stored?

You need to implement it in hook, if you are looking to add content on event info page than you will need to implement it in pageRun() hook
Pradeep Nayak's user avatar
3 votes

Where should custom "Region" calls be stored?

Solution found: https://docs.civicrm.org/dev/en/latest/hooks/usage/wordpress/ add_filter('civicrm_pageRun', 'addJoinLink', 10, 4 ); function addJoinLink() { CRM_Core_Region::instance('event-page-...
dsmith63's user avatar
  • 387
2 votes
Accepted

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

As with Howto hide/disable fields not needed, the best answer as of CiviCRM 5.7 is to use the Contact Summary Layout Editor extension, which enables an admin to create and rearrange arbitrary blocks ...
choster's user avatar
  • 1,900
2 votes

How to add custom templates (tpls) or php files

The 'Civi approach' towards customising templates and php files would be to create an extension with your customizations. How to do that can be read on this wiki page An extension is basically an ...
ErikH - CiviCooP's user avatar
2 votes

How to add custom templates (tpls) or php files

Am sure others will provide a more substantive answer but going to start just with a link to this wiki page since I had it handy
petednz - fuzion's user avatar
  • 28.2k
2 votes

Custom field data - maintaining uniformity

There are two options: Set your custom fields as a (multi) select if possible. Develop an extension that validates the input using a validateForm hook (or in jQuery)
ErikH - CiviCooP's user avatar
2 votes

Where can I edit text on pcp page

Lesley, This is set in php and then assigned to tpl. It's being set from two places CRM/Contribute/Form/Contribution/Main.php and CRM/PCP/BAO/PCP.php. Since its being assigned to tpl through php then ...
Pradeep Nayak's user avatar
2 votes
Accepted

Custom Report Template

Not sure which one you used - but this is still one of the best guides out there: https://alastaira.wordpress.com/2011/03/17/civicrm-creating-a-custom-report/ Note: the .php goes into your ...
KarinG - Semper IT's user avatar
2 votes

Jquery not affecting custom fields of an activity

Ok What's happening is this. If you look at your .crm-accordion-header css rules in an Inspector window in your browser, you will see there is a background-color !important rule earlier in the CSS ...
Tony Horrocks's user avatar
2 votes

Ignoring a hidden field on event registration form

AFAIK this cannot be controlled in CiviCRM ATM. However there is an extension(from Allen Shaw) for conditional filtering on profile but I guess this will not work in your case. I would suggest you ...
Pradeep Nayak's user avatar
2 votes

Create buttons on action from ResultTasks

By "buttons", I assume you mean the buttons referenced in the screenshot below. It's not recommended to edit the .tpl files directly - it's hard to maintain, and will be overwritten any time you ...
Jon G - Megaphone Tech's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible