From 3c9a549163664aa6adb7f3f9ef94484632996469 Mon Sep 17 00:00:00 2001 From: Cameron Date: Thu, 2 Nov 2017 20:33:17 -0700 Subject: [PATCH] Plugin Builder fixes. --- e107_admin/plugin.php | 2 +- e107_plugins/_blank/_blank.php | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/e107_admin/plugin.php b/e107_admin/plugin.php index ed0cef013..62c6f9e07 100644 --- a/e107_admin/plugin.php +++ b/e107_admin/plugin.php @@ -3881,7 +3881,7 @@ $content .= " if (!defined('e107_INIT')) { exit; } -class plugin_".$this->pluginName."_shortcodes extends e_shortcode +class plugin_".$this->pluginName."_".$this->pluginName."_shortcodes extends e_shortcode { "; diff --git a/e107_plugins/_blank/_blank.php b/e107_plugins/_blank/_blank.php index f21439d69..c87216db8 100644 --- a/e107_plugins/_blank/_blank.php +++ b/e107_plugins/_blank/_blank.php @@ -37,6 +37,9 @@ class _blank_front $frm = e107::getForm(); // Form element class. $ns = e107::getRender(); // render in theme box. + // $sc = e107::getScBatch('_blank',true, '_blank'); + // $template = e107::getTemplate('_blank','_blank','default'); + $text = ''; if($rows = $sql->retrieve('blank','*',false,'',true)) // combined select and fetch function - returns an array.