Need help in "how to give token value on form submission"..?
Hello There,
I am facing a simple but strange issue.
I have a node form and i want a token that have the node URL that is being submitted/created. I want to send a thank you message to the user along with the node link.
Read moreUsing CiviCRM fields in MailChimp
I have a Drupal 7.21 / CiviCRM 4.2.2 install.
It uses CiviCRM, MailChimp and Profile2. I need to put the first name and last name from a CiviCRM contact into the MailChimp for the mailouts. What I planned on using to make the linkage is Custom Token. I didn't want to write a custom module to pull this off if Custom Token were available to do almost the same job.
Here is what I built:
<?php
if (module_exists('civicrm')) {
$user = user_load(arg(1));
civicrm_initialize(TRUE);
require_once 'api/v2/UFGroup.php';
$userID = civicrm_uf_match_id_get( $user->uid );
Read more