From: Coleman Watts Date: Sat, 25 Oct 2014 01:37:56 +0000 (-0400) Subject: CRM-15524 - Support adding scripts, styles, etc to page header/footer regions in... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=6d586aad12c190263aef3028d9d0110f60d912db;p=civicrm-core.git CRM-15524 - Support adding scripts, styles, etc to page header/footer regions in snippet mode --- 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}