From 6b3ac1367f5c2710d8d8cfee13ee8f1a7bc5ebf1 Mon Sep 17 00:00:00 2001 From: Carlos Date: Fri, 3 Nov 2017 13:28:33 -0400 Subject: [PATCH] Added pre and post regions to each entitys userdashboard --- templates/CRM/Activity/Page/UserDashboard.tpl | 4 ++++ templates/CRM/Contact/Page/View/RelationshipSelector.tpl | 4 ++++ .../CRM/Contact/Page/View/UserDashBoard/GroupContact.tpl | 4 ++++ templates/CRM/Contribute/Page/PcpUserDashboard.tpl | 4 ++++ templates/CRM/Contribute/Page/UserDashboard.tpl | 4 ++++ templates/CRM/Event/Page/UserDashboard.tpl | 4 ++++ templates/CRM/Member/Page/UserDashboard.tpl | 4 ++++ templates/CRM/Pledge/Page/UserDashboard.tpl | 4 ++++ 8 files changed, 32 insertions(+) diff --git a/templates/CRM/Activity/Page/UserDashboard.tpl b/templates/CRM/Activity/Page/UserDashboard.tpl index 05256fb127..c183ed9d4d 100644 --- a/templates/CRM/Activity/Page/UserDashboard.tpl +++ b/templates/CRM/Activity/Page/UserDashboard.tpl @@ -23,6 +23,8 @@ | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ *} +{crmRegion name="crm-activity-userdashboard-pre"} +{/crmRegion}
{if $activity_rows} {strip} @@ -67,3 +69,5 @@ q="action=view&reset=1&id=`$row.activity_id`&cid=`$row.contact_id`&context=dashb
{/if} +{crmRegion name="crm-activity-userdashboard-post"} +{/crmRegion} \ No newline at end of file diff --git a/templates/CRM/Contact/Page/View/RelationshipSelector.tpl b/templates/CRM/Contact/Page/View/RelationshipSelector.tpl index c459fd21c0..a4dea02977 100644 --- a/templates/CRM/Contact/Page/View/RelationshipSelector.tpl +++ b/templates/CRM/Contact/Page/View/RelationshipSelector.tpl @@ -24,6 +24,8 @@ +--------------------------------------------------------------------+ *} {* relationship selector *} +{crmRegion name="crm-contact-relationshipselector-pre"} +{/crmRegion}
+{crmRegion name="crm-contact-relationshipselector-post"} +{/crmRegion} \ No newline at end of file diff --git a/templates/CRM/Contact/Page/View/UserDashBoard/GroupContact.tpl b/templates/CRM/Contact/Page/View/UserDashBoard/GroupContact.tpl index 1a91221356..142b3f8bb0 100644 --- a/templates/CRM/Contact/Page/View/UserDashBoard/GroupContact.tpl +++ b/templates/CRM/Contact/Page/View/UserDashBoard/GroupContact.tpl @@ -23,6 +23,8 @@ | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ *} +{crmRegion name="crm-contact-userdashboard-groupcontact-pre"} +{/crmRegion}
{if $groupCount eq 0 } @@ -131,3 +133,5 @@ {/if}
+{crmRegion name="crm-contact-userdashboard-groupcontact-post"} +{/crmRegion} \ No newline at end of file diff --git a/templates/CRM/Contribute/Page/PcpUserDashboard.tpl b/templates/CRM/Contribute/Page/PcpUserDashboard.tpl index 67fa811ff3..1ac7cc2f64 100644 --- a/templates/CRM/Contribute/Page/PcpUserDashboard.tpl +++ b/templates/CRM/Contribute/Page/PcpUserDashboard.tpl @@ -23,6 +23,8 @@ | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ *} +{crmRegion name="crm-contribute-pcp-userdashboard-pre"} +{/crmRegion}
{if $pcpInfo} @@ -88,3 +90,5 @@ {/if}
+{crmRegion name="crm-contribute-pcp-userdashboard-post"} +{/crmRegion} \ No newline at end of file diff --git a/templates/CRM/Contribute/Page/UserDashboard.tpl b/templates/CRM/Contribute/Page/UserDashboard.tpl index 6b054fc57b..eb768428c3 100644 --- a/templates/CRM/Contribute/Page/UserDashboard.tpl +++ b/templates/CRM/Contribute/Page/UserDashboard.tpl @@ -23,6 +23,8 @@ | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ *} +{crmRegion name="crm-contribute-userdashboard-pre"} +{/crmRegion}
{if $contribute_rows} {strip} @@ -158,3 +160,5 @@ {/if} {/if}
+{crmRegion name="crm-contribute-userdashboard-post"} +{/crmRegion} \ No newline at end of file diff --git a/templates/CRM/Event/Page/UserDashboard.tpl b/templates/CRM/Event/Page/UserDashboard.tpl index 466eee7e4e..48cb6da689 100644 --- a/templates/CRM/Event/Page/UserDashboard.tpl +++ b/templates/CRM/Event/Page/UserDashboard.tpl @@ -23,6 +23,8 @@ | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ *} +{crmRegion name="crm-event-userdashboard-pre"} +{/crmRegion}
{if $event_rows} {strip} @@ -70,3 +72,5 @@
{/if} +{crmRegion name="crm-event-userdashboard-post"} +{/crmRegion} \ No newline at end of file diff --git a/templates/CRM/Member/Page/UserDashboard.tpl b/templates/CRM/Member/Page/UserDashboard.tpl index 6aa84650d5..208d37e323 100644 --- a/templates/CRM/Member/Page/UserDashboard.tpl +++ b/templates/CRM/Member/Page/UserDashboard.tpl @@ -23,6 +23,8 @@ | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ *} +{crmRegion name="crm-member-userdashboard-pre"} +{/crmRegion}
{if $activeMembers}
@@ -92,3 +94,5 @@
{/if}
+{crmRegion name="crm-member-userdashboard-post"} +{/crmRegion} \ No newline at end of file diff --git a/templates/CRM/Pledge/Page/UserDashboard.tpl b/templates/CRM/Pledge/Page/UserDashboard.tpl index 46835fc705..d1f5f94dbe 100644 --- a/templates/CRM/Pledge/Page/UserDashboard.tpl +++ b/templates/CRM/Pledge/Page/UserDashboard.tpl @@ -23,6 +23,8 @@ | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ *} +{crmRegion name="crm-pledge-userdashboard-pre"} +{/crmRegion} {if $context eq 'user'}
{if $pledge_rows} @@ -99,3 +101,5 @@
{* main if close*} {/if} +{crmRegion name="crm-pledge-userdashboard-post"} +{/crmRegion} \ No newline at end of file -- 2.25.1