From 6d586aad12c190263aef3028d9d0110f60d912db Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Fri, 24 Oct 2014 21:37:56 -0400 Subject: [PATCH] CRM-15524 - Support adding scripts, styles, etc to page header/footer regions in snippet mode --- templates/CRM/common/snippet.tpl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/CRM/common/snippet.tpl b/templates/CRM/common/snippet.tpl index 98e3686c74..bb84d5a84a 100644 --- a/templates/CRM/common/snippet.tpl +++ b/templates/CRM/common/snippet.tpl @@ -37,6 +37,8 @@ {if $smarty.get.snippet eq 2} {include file="CRM/common/print.tpl"} {else} + {crmRegion name='page-header' allowCmsOverride=0}{/crmRegion} + {crmRegion name='page-body'} {* Add status messages and container-snippet div unless we are outputting json. *} @@ -58,6 +60,8 @@ {/if} {/crmRegion} + + {crmRegion name='page-footer' allowCmsOverride=0}{/crmRegion} {/if} {/if} {/strip} -- 2.25.1