From da31086cd4f79d808610eaa3a57f9b26fb88fda0 Mon Sep 17 00:00:00 2001 From: nielosz Date: Fri, 1 Jul 2016 10:47:31 +0200 Subject: [PATCH] Add regions to gain more flexibilty for extension developers --- templates/CRM/Contact/Page/View/Summary.tpl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/templates/CRM/Contact/Page/View/Summary.tpl b/templates/CRM/Contact/Page/View/Summary.tpl index a49c63c5c1..d585acb1cf 100644 --- a/templates/CRM/Contact/Page/View/Summary.tpl +++ b/templates/CRM/Contact/Page/View/Summary.tpl @@ -243,6 +243,7 @@ {if $showAddress}
+ {crmRegion name="contact-addresses"} {assign var='locationIndex' value=1} {if $address} {foreach from=$address item=add key=locationIndex} @@ -259,26 +260,30 @@ {include file="CRM/Contact/Page/Inline/Address.tpl"}
{/if} - + {/crmRegion} {/if}
{if $showCommunicationPreferences}
+ {crmRegion name="contact-comm-pref"}
{include file="CRM/Contact/Page/Inline/CommunicationPreferences.tpl"}
+ {/crmRegion}
{/if} {if $contact_type eq 'Individual' AND $showDemographics}
+ {crmRegion name="contact-demographic"}
{include file="CRM/Contact/Page/Inline/Demographics.tpl"}
+ {/crmRegion}
{/if}
-- 2.25.1