02-25-2017, 10:01 AM
I had a look at the code and see no reason why that would be happening. Searching on the internet doesn't turn up anything either, so I am a bit at loss here.
You can try this patch:
that will output the plugins directory to the browser screen just to make sure it is looking in the right place for this plugin.
Ultimately you can comment out this plugin:
that will generate more spaces and make it go a little slower but it shouldn't have any other impact
Let me know what the output on screen is for the plugin dir and how the application performs without the whitespace filter
You can try this patch:
Code:
diff --git a/Smarty_setup.php b/Smarty_setup.php
index 7a13bb0..8cbb0f1 100755
--- a/Smarty_setup.php
+++ b/Smarty_setup.php
@@ -33,7 +33,7 @@ class vtigerCRM_Smarty extends Smarty{
$this->setConfigDir('Smarty/configs');
$this->setCacheDir('Smarty/cache');
$this->setPluginsDir('Smarty/libs/plugins');
-
+var_dump($this->getPluginsDir());
//$this->caching = true;
$CALENDAR_DISPLAY = GlobalVariable::getVariable('Application_Display_Mini_Calendar',1,$currentModule);
$CALENDAR_DISPLAY = empty($CALENDAR_DISPLAY) ? 'false' : 'true';
that will output the plugins directory to the browser screen just to make sure it is looking in the right place for this plugin.
Ultimately you can comment out this plugin:
Code:
diff --git a/Smarty_setup.php b/Smarty_setup.php
index 7a13bb0..34f0965 100755
--- a/Smarty_setup.php
+++ b/Smarty_setup.php
@@ -52,7 +52,7 @@ class vtigerCRM_Smarty extends Smarty{
//Added to provide User based Tagcloud
$this->assign('TAG_CLOUD_DISPLAY', self::lookupTagCloudView($current_user->id) );
}
- $this->loadFilter('output', 'trimwhitespace');
+ //$this->loadFilter('output', 'trimwhitespace');
$this->registerPlugin('function', 'process_widget', 'smarty_function_process_widget');
}
}
that will generate more spaces and make it go a little slower but it shouldn't have any other impact
Let me know what the output on screen is for the plugin dir and how the application performs without the whitespace filter
Joe
TSolucio
TSolucio