From 6001252d9af67150480a656a39102affe6171cd4 Mon Sep 17 00:00:00 2001 From: DanielSeifert Date: Thu, 21 Feb 2013 13:59:59 +0000 Subject: [PATCH] use dynamic module path for smarty plugins --- .../modules/core/d3_oxutilsview_googleanalytics.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/copy_this/modules/d3/d3_googleanalytics/modules/core/d3_oxutilsview_googleanalytics.php b/copy_this/modules/d3/d3_googleanalytics/modules/core/d3_oxutilsview_googleanalytics.php index 2815de4..7dd6f08 100644 --- a/copy_this/modules/d3/d3_googleanalytics/modules/core/d3_oxutilsview_googleanalytics.php +++ b/copy_this/modules/d3/d3_googleanalytics/modules/core/d3_oxutilsview_googleanalytics.php @@ -1,11 +1,16 @@ plugins_dir[] = '../../modules/d3/d3_googleanalytics/core/smarty/plugins'; + $oSmarty->plugins_dir[] = + oxRegistry::getConfig()->getActiveView()->getViewConfig()->getModulePath('d3_googleanalytics'). + 'core/smarty/plugins'; } } \ No newline at end of file