CRM-15524 - Support adding scripts, styles, etc to page header/footer regions in...
authorColeman Watts <coleman@civicrm.org>
Sat, 25 Oct 2014 01:37:56 +0000 (21:37 -0400)
committerColeman Watts <coleman@civicrm.org>
Sun, 2 Nov 2014 23:12:31 +0000 (18:12 -0500)
templates/CRM/common/snippet.tpl

index 98e3686c74c5591c050002703b2206690e300466..bb84d5a84ab52c0533e3a56864cc3b777ff388c4 100644 (file)
@@ -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}