Skip to main content
added 69 characters in body
Source Link
Chris Burgess
  • 9.9k
  • 15
  • 45

A custom module triggered this problem.

description = Define custom tokens CiviMail

dependencies[] = civicrm

files[] = esoCiviMail.module

function esoCiviMail_civicrm_tokenValues

function esoCiviMail_civicrm_tokens(&$tokens) ...

$nid=$node*1; //node id of next concert promo page //

$input_lines="";

//$node does not resolve--THIS IS BROKEN AFTER CONCERT 1

$node = node_load($nid); $my_field_items = field_get_items('node', $node, 'body'); if ($my_field_items) { $my_field_first_item = reset($my_field_items); $input_lines = $my_field_first_item['value']; }

description =  Define custom tokens CiviMail
dependencies[] = civicrm
files[] = esoCiviMail.module


function esoCiviMail_civicrm_tokenValues() /* */
function esoCiviMail_civicrm_tokens(&$tokens) {
// ...
$nid=$node*1; //node id of next concert promo page //
$input_lines="";
// $node does not resolve--THIS IS BROKEN AFTER CONCERT 1
$node = node_load($nid);
$my_field_items = field_get_items('node', $node, 'body');
  if ($my_field_items) {
    $my_field_first_item = reset($my_field_items);
    $input_lines = $my_field_first_item['value'];
  }
}

A custom module triggered this problem.

description = Define custom tokens CiviMail

dependencies[] = civicrm

files[] = esoCiviMail.module

function esoCiviMail_civicrm_tokenValues

function esoCiviMail_civicrm_tokens(&$tokens) ...

$nid=$node*1; //node id of next concert promo page //

$input_lines="";

//$node does not resolve--THIS IS BROKEN AFTER CONCERT 1

$node = node_load($nid); $my_field_items = field_get_items('node', $node, 'body'); if ($my_field_items) { $my_field_first_item = reset($my_field_items); $input_lines = $my_field_first_item['value']; }

A custom module triggered this problem.

description =  Define custom tokens CiviMail
dependencies[] = civicrm
files[] = esoCiviMail.module


function esoCiviMail_civicrm_tokenValues() /* */
function esoCiviMail_civicrm_tokens(&$tokens) {
// ...
$nid=$node*1; //node id of next concert promo page //
$input_lines="";
// $node does not resolve--THIS IS BROKEN AFTER CONCERT 1
$node = node_load($nid);
$my_field_items = field_get_items('node', $node, 'body');
  if ($my_field_items) {
    $my_field_first_item = reset($my_field_items);
    $input_lines = $my_field_first_item['value'];
  }
}
Source Link
TimETown
  • 383
  • 1
  • 8

A custom module triggered this problem.

description = Define custom tokens CiviMail

dependencies[] = civicrm

files[] = esoCiviMail.module

function esoCiviMail_civicrm_tokenValues

function esoCiviMail_civicrm_tokens(&$tokens) ...

$nid=$node*1; //node id of next concert promo page //

$input_lines="";

//$node does not resolve--THIS IS BROKEN AFTER CONCERT 1

$node = node_load($nid); $my_field_items = field_get_items('node', $node, 'body'); if ($my_field_items) { $my_field_first_item = reset($my_field_items); $input_lines = $my_field_first_item['value']; }