Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.1.1
-
Fix Version/s: 3.1.2
-
Component/s: CiviMember
-
Labels:None
Description
Assign each member's membership parameters to $memberParams in UpdateMembershipRecord.php script so that they can be referenced as smarty variable in membership reminder message templates. The assigned array is:
$memberParams = array( 'id' => $dao->membership_id,
'status_id' => $dao->status_id,
'contact_id' => $dao->contact_id,
'membership_type_id' => $dao->membership_type_id,
'membership_type' => $allTypes[$dao->membership_type_id],
'join_date' => $dao->join_date,
'start_date' => $dao->start_date,
'end_date' => $dao->end_date,
'reminder_date' => $dao->reminder_date,
'source' => $dao->source,
'skipStatusCal' => true,
'skipRecentView' => true );
Example: In the message template you can reference the membership End Date as {$memberParams.end_date|crmDate}