12 votes
Accepted

Where are the "ConfigAndLog" and "templates_c" directories?

The two directories are found side-by-side. The location varies by CMS; see below. Note that you'll need access to your server's file system. If you have FTP/SFTP/SSH access, you can use that. If ...
Jon G - Megaphone Tech's user avatar
6 votes
Accepted

How to keep "My billing address is same as above" UNTicked by default?

Further down (halfway) to the Billingblock.tpl change the following value from true to false // detect if billing checkbox should default to checked var checked = false;
Tapash's user avatar
  • 2,950
6 votes
Accepted

How can I see the available tokens for message templates?

use {debug output=html} To have a nice formatting in html email
empiguet's user avatar
  • 158
5 votes

Where are the "ConfigAndLog" and "templates_c" directories?

Another option for seeing the civi logs is adding the extension CiviCRM Log Viewer which gives a link via the Admin menu to view the error log
petednz - fuzion's user avatar
  • 28.2k
4 votes

Different forms depending on user roles

You say you want to change 'Edit Contact' - but if you mean, you want a way for a logged in user to be able to be directed 'somewhere' to update their details, then here is one non-coding solution ...
petednz - fuzion's user avatar
  • 28.2k
4 votes

Where to find the path and the name of the tpl file in source code in 4.7.16

In current 4.7 you need to enable debugging for the tpl to be shown in the source. Go to Administer > System Settings > Debugging and Error Handling then select Enable Debugging and save. ...
Aidan's user avatar
  • 13.4k
4 votes
Accepted

No contact names in activity emails but only name_{contact_id}. Why?

The comment by Demerit solved my problem: Check under Administer - CiviCase - CiviCase Settings, there's an option that says "Redact Activity Email". That was set to "Redact Emails" and I had to set ...
Johan's user avatar
  • 113
4 votes

Listing Groups in a mail template

As far as I know, that token doesn't exist, in core or in an extension. It's not a bad idea though; it would be quick to write. As with most tokens that list multiple fields, the real trick is in ...
Jon G - Megaphone Tech's user avatar
4 votes

Listing Groups in a mail template

As said by Jon its not available in core or in an extension. You can either write extension and implement hook_civicrm_tokens and hook_civicrm_tokenValues to add and generate token for the contact ...
Pradeep Nayak's user avatar
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
4 votes

Putting Contact Tags in Email Template

Welcome to CiviCRM SE. I have contact group token extension which provides a list of group users added to, but not for tags.
Pradeep Nayak's user avatar
3 votes

Using the wordpress plugin, how do I overide the the template files, ie EventInfo.tpl?

If you need to over ride a .tpl you can just do that by creating an extension or by using custom template folder in civicrm which will be more easier - also, in the time of upgrade you need to ...
Ramesh - ARTECH Consultancy's user avatar
3 votes
Accepted

Template file not loading

I'd say best to stick with where Civix (aka Tim) says it should go! (i.e. no subdirs) - and note that Civix can help you create the page: https://wiki.civicrm.org/confluence/display/CRMDOC/Create+a+...
KarinG - Semper IT's user avatar
3 votes

How can I remove the Billing Name and Address section from the donation form?

How are you collecting the payment? As far as I understand it, those fields are required by certain merchant account services. For instance, on our page if we do pay later or Paypal, those fields do ...
Jenni Simonis's user avatar
3 votes

How can I remove the Billing Name and Address section from the donation form?

[UPDATE FOR 2021!] - Different payment processors require different amounts of data. The older processors, like Authorize.net, required more. Newer processors require less. Traditionally CiviCRM had ...
Jon G - Megaphone Tech's user avatar
3 votes

How can I remove the Billing Name and Address section from the donation form?

If you are using latest version of stripe extension there’s a option to disable billing block. Go to Administer >> CiviContribute >> Stripe Settings
Tapash's user avatar
  • 2,950
3 votes
Accepted

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

Looks like this is indeed a bug: https://lab.civicrm.org/dev/core/issues/653
Hugh's user avatar
  • 272
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

How do I removed accordions in the advanced search

Unchecking the box in the image below for each field in your custom data set ensures it is not searchable. If no fields within the custom data set are searchable, the "accordion" is removed from the ...
Justin Moore's user avatar
3 votes
Accepted

What permissions are needed to edit Mosaico templates?

It looks like the permissions for message templates and system workflow messages do not apply to editing Mosaico Templates. I could not grant access to mosaico templates without granting the ...
ginkgoMZD's user avatar
  • 626
3 votes
Accepted

What data fields are available to me at receipt template

In the message template, put this in the <body> section of the html format section and then send yourself a contribution receipt. {assign_debug_info} <table id="table_assigned_vars"> {...
Demerit's user avatar
  • 22.5k
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
3 votes

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

The action Job.cleanup has a parameter tplCache which is set to 0 by default. When the action is called with the parameter set to 1 the folder gets emptied. Create a new scheduled job Choose "...
Tobias Krause's user avatar
3 votes
Accepted

Changing the colour of text inside text boxes

FYI: https://docs.civicrm.org/sysadmin/en/latest/customize/theme/ If this is happening with a default installation, I suggest you create a gitlab issue. It would be great if you can also do a PR but ...
Aidan's user avatar
  • 13.4k
2 votes

Different forms depending on user roles

Try using webform_civicrm! make different webforms exposing different contact fields you can do that for multiple contacts (i.e. make it into a batch update screen!) set the webform permissions ...
KarinG - Semper IT's user avatar
2 votes

Thankyou.tpl fields

Add {debug} to your .tpl and you will find all available variables. Not all expected variables are available in all template. One way to get more variables in the .tpl file is to use the API in ...
Catorghans's user avatar
  • 3,544
2 votes
Accepted

CiviEvent - How to Template Profile Fields and Price Set Questions In Custom Groups

I think jQuery is the best way to achieve this at the moment, rather than trying to customise the template, or load a custom template for an individual event. Doing this in jQuery also keeps the logic ...
John's user avatar
  • 1,922
2 votes

Email templates stripped of style tags

Changing from TinyMCE for template editing to CKEditor solved this problem. Verified that switching back to TinyMCE causes style tags to be stripped.
Lars SG's user avatar
  • 4,008
2 votes
Accepted

How can I modify the existing report template?

These two fields would be generally useful to many CiviCRM users, so I'd recommend adding them to the core report just before https://github.com/civicrm/civicrm-core/blob/master/CRM/Report/Form/...
Joe Murray's user avatar
  • 6,741

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