omycode/SuperBoxSelect — Issue #4: Install doesn't respect non-standard manager name (Revo 2.2.0-pl2)
Author: westport
Created: 2012-01-31 23:47:48+00:00
State: open

As per MODx Security Hardening standards, I have changed the name of my manager directory. However, it seems that the "element/tv/renders/input/superboxselect.tpl" is saved to the default "manager" directory. So, when attempting to edit a page using the TV, the following error appears in the PHP error log (the manager errors out)

From PHP Error log:

PHP Fatal error: Uncaught exception 'SmartyException' with message 'Unable to load template file 'element/tv/renders/input/superboxselect.tpl'' in /model/smarty/sysplugins/smarty_internal_template.php:162
Stack trace:
#0 /model/smarty/sysplugins/smarty_internal_template.php(537): Smarty_Internal_Template->isExisting(true)
#1 /model/smarty/Smarty.class.php(335): Smarty_Internal_Template->getRenderedTemplate()
#2 /model/modx/modmanagercontroller.class.php(252): Smarty->fetch('element/tv/rend...')
#3 /model/modx/modtemplatevar.class.php(1103): modManagerController->fetchTemplate('element/tv/rend...')
#4 /model/modx/modtemplatevar.class.php(421): modTemplateVarInputRender->render('437', Array)
#5 /model/modx/modtemplatevar.class.php(366): modTemplateVar->getRend in /model/smarty/sysplugins/smarty_internal_template.php on line 162

After copying the file to the correct location, all is well.