From 3bff232a783330e71e632b808b8239ab43a72cb6 Mon Sep 17 00:00:00 2001 From: Chuck Scott Date: Thu, 21 May 2015 12:10:36 -0400 Subject: [PATCH] Fixed shortcode output showing before other content --- controllers/front.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/controllers/front.php b/controllers/front.php index ca6536a3..2e06a820 100644 --- a/controllers/front.php +++ b/controllers/front.php @@ -436,11 +436,13 @@ class glmMembersFront extends GlmPluginSupport } // Generate output from model data and view - $smarty->template->display($view); + $out = $smarty->template->fetch($view); // Restore timezone that was set before our code was called date_default_timezone_set($defaultTimeZone); + return $out; + } } ?> \ No newline at end of file -- 2.17.1