From 2ca094ea036033893c12384c109513e896a20809 Mon Sep 17 00:00:00 2001 From: Ruben Rodriguez Date: Thu, 30 Apr 2020 12:47:25 -0400 Subject: [PATCH] Added referral link --- CRM/Memberdashboard/Page/MemberDashboard.php | 1 + templates/CRM/Memberdashboard/Page/MemberDashboard.tpl | 3 +++ 2 files changed, 4 insertions(+) diff --git a/CRM/Memberdashboard/Page/MemberDashboard.php b/CRM/Memberdashboard/Page/MemberDashboard.php index f7d6106..a51bbf3 100644 --- a/CRM/Memberdashboard/Page/MemberDashboard.php +++ b/CRM/Memberdashboard/Page/MemberDashboard.php @@ -73,6 +73,7 @@ class CRM_Memberdashboard_Page_MemberDashboard extends CRM_Memberdashboard_Page $this->assign('campaignPages', $this->campaignPages()); // Checksum for editing recurring contributions. $this->assign('contributionChecksum', $this->makeChecksum()); + $this->assign('contactId', $this->contact['id']); parent::run(); diff --git a/templates/CRM/Memberdashboard/Page/MemberDashboard.tpl b/templates/CRM/Memberdashboard/Page/MemberDashboard.tpl index 85a9192..dea31a9 100644 --- a/templates/CRM/Memberdashboard/Page/MemberDashboard.tpl +++ b/templates/CRM/Memberdashboard/Page/MemberDashboard.tpl @@ -25,6 +25,9 @@ {include file="CRM/Memberdashboard/Page/DashboardElement.tpl" element=$dashboardElements.CiviContribute } +
Referrer Link
+https://my.fsf.org/join?referrer={$contactId} +
Personal Campaign Page(s)
-- 2.25.1