From efff343897410e2d702b222f5346c5e5e4e5f98e Mon Sep 17 00:00:00 2001 From: Lars Henriksson Date: Mon, 4 Sep 2017 16:45:00 +0200 Subject: [PATCH] Added siteCSS & siteJavascript for easy grouping of files To use with Theme::plugins('siteJavascript') to place all javascript files from plugins in the same place. Good to use when you want to place all .js files in end of body without use of siteBodyEnd. --- bl-kernel/boot/rules/60.plugins.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bl-kernel/boot/rules/60.plugins.php b/bl-kernel/boot/rules/60.plugins.php index e54d7699..d956078d 100644 --- a/bl-kernel/boot/rules/60.plugins.php +++ b/bl-kernel/boot/rules/60.plugins.php @@ -9,6 +9,8 @@ $plugins = array( 'siteBodyBegin'=>array(), 'siteBodyEnd'=>array(), 'siteSidebar'=>array(), + 'siteCSS'=>array(), + 'siteJavascript'=>array(), 'beforeSiteLoad'=>array(), 'afterSiteLoad'=>array(),