Questions tagged [templates]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
7
votes
2answers
2k views

Where are the “ConfigAndLog” and “templates_c” directories?

Many Stack Exchange answers say to "check your CiviCRM logs" which can be found in the "ConfigAndLog" directory, or to "delete your templates_c folder". What are the default locations for the ...
9
votes
4answers
619 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 ...
7
votes
3answers
713 views

How can I see the available tokens for message templates?

For a page in the browser, we can put &smartyDebug=1 in the URL to see variables in scope for the top level template. How can we do this for message templates?
5
votes
2answers
82 views

How to copy an existing letter template?

I have created a custom letter template in CiviCRM, with letterhead, footers, graphics etc. It is saved under an assigned name. Now I want to use that template to create others for specific ...
0
votes
1answer
100 views

Link State to Country in Custom Fields

Using 4.6, I have a custom field group, and from that group a profile. It includes a State select dropdown and a Country select dropdown. How would I go about "linking" the Country custom field to ...
0
votes
1answer
38 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, ...
3
votes
3answers
298 views

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

I would like to remove the Billing Name and Address section (which includes the fields First Name, Last Name, Street, City, Country, State, ZIP) from the donation page. What would be a good way to go ...
2
votes
2answers
87 views

Can I add non-contact fields (such as membership, contribution, relationship, etc) in bulk emails?

I want to add fields from other modules, such as membership,contributions, relationships etc in bulk emails? I don't know php so I hope I can put the field name inside {}. Is this possible? If so, ...
1
vote
2answers
60 views

Letter Templates Pre Populate with Membership Fields

I have email and letter templates that has the following {contact.first_name} {contact.last_name} {contact.contact_id} {membership....
1
vote
1answer
118 views

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

I have spend a number of hours trying to figure this out. If I want to change one of the template files, say EventInfo.tpl, but not inside the plugin so updates would not override it. How do I need ...
1
vote
1answer
79 views

Add Membership Token to PDF Template Joomla

I have been banging my head on this for a few days. I created a PDF Template for our members so I can run a search of members in Expired or Grace, then PDF a letter reminding them to pay their ...
1
vote
1answer
197 views

CiviCRM rebuilding templates_c with permissions

I have just upgraded from 4.3.8 to 4.7.15 on Drupal 7.50. Everything went well except the <drupal_root>sites/default/files/civicrm/templates_c directory is rebuilt with the wrong file ...
0
votes
1answer
83 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
1answer
91 views

Email templates stripped of style tags

Style tags cannot be saved in message templates and have in fact been stripped from current templates. We use a number of templates based on the Single Column Responsive Sample Template. In the last ...