Aller directement à la fin des métadonnées
Aller au début des métadonnées


This blog post outlines how to customize existing tokens and create custom tokens, including the use of "OR" logic. Be sure to read the post for background and three different examples (with code included).

Additional Samples

The following code is based on Coleman's blog (linked above) and creates a token to pull a Drupal username into a CiviCRM token. (For example, when mailing contacts that have an associated Drupal account, you may like to include their username in the body of your message).

Drupal username token
  • Aucun