Questions tagged [tokens]

Equivalent of mail merge fields. Facilitates to insert information from the database into an email or a letter that is different for every recipient.

Filter by
Sorted by
Tagged with
4
votes
1answer
59 views

When saved to activities, tokens inside emails are not evaluated

Is it normal that when a reminder email goes out and is saved as an activity that tokens are not evaluated and saved in the activity? If that is normal, where is the best place to make a feature ...
1
vote
1answer
178 views

Token not evaluating in CiviMail

I have a token for a custom field in my email template, but its not being replaced with the value when the email is sent. What's wrong? How can I fix it?
2
votes
2answers
318 views

Custom form input field missing from &$values when hooking into tokenValues

I am hooking into _buildForm for CRM_Contact_Form_Task_Email to add a hidden input called "order_id" that I will need for some token logic. This part is working great. But when I click Send Email, my ...
2
votes
2answers
42 views

How can I use existing tokens to send out a single Scheduled Reminder to both the Org and the Employee

Scenario is: Acme has a membership which is inherited by employees. John is a permissioned employee - and hence should be able to renew 'on behalf of' and hence goal is that he should be sent ...
3
votes
2answers
200 views

in CiviMail, when using “view in browser” link, how can forward to a friend be disabled?

When a person clicks on the view in browser link in an email, the email is generated on a webpage. This webpage also includes any tokens like Forward to a friend, which on this webpage does not work. ...
1
vote
2answers
109 views

Can I use a CIviCRM Webform URL in place of the required action.unsubscribeUrl?

I created a nice un/subscrube form using the excellent CiviCRM Webform module for Drupal. Now I would like to send mailings with CiviMail and include a link to my webform as the unsubscribe option. ...
2
votes
3answers
151 views

Error for token.php related to greeting tokens

I keep getting a error daily for one of my cron jobs: Cron <site@prefix> /usr/local/bin/php /home/site/public_html/administrator/components/com_civicrm/civicrm/bin/cli.php -s www.site.org -u ...
1
vote
2answers
96 views

{mailing.viewUrl} returns faulty URL

When I click on the {mailing.viewUrl} inside an email the URL formed is as follows: www.http.com//www.example.com.au...... I am not sure why the www.http.com is replacing http: Cheers Martin Fuggle
4
votes
1answer
92 views

How do I configure the duration of the checksum links?

Is there a way to configure the duration of the checksum links used when sending a mail - either globally or using a specific parameter in the token ? I can't find any documentation on this but i'm ...
3
votes
2answers
342 views

How can we make Event custom fields available as tokens for scheduled reminders?

We've done some investigation and found two places we could intervene to make this possible: Intervene here: CRM_Core_BAO_ActionSchedule::sendMailings(), but to make tokens available we'd have to ...
12
votes
2answers
568 views

How do contact hashes work, and how do I keep them secure?

Currently we don't use contact hashes but we'd really like to. My understanding is that contact hashes are exposed as a token that can be used in CiviMail where they are appended to links. They're ...
2
votes
2answers
89 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, ...
5
votes
1answer
136 views

How can I reference a contact's Drupal/Wordpress/Joomla account with a CiviMail token?

From time to time we need to send messages through CiviMail that include a contact's CMS (Drupal/Wordpress/Joomla) username or ID. How can we add this to the available tokens?
8
votes
3answers
1k views

Can I put custom field tokens into a message template?

I want to add custom fields to mail templates without writing tokens. Is this possible? If so, where can I find the entity relationship diagram for civi? Thanks,

1 2 3
4