Following the tutorial here:
http://rtfm.modx.com/display/revolution20/Custom+Manager+Pages
I try to use a smarty template that I save at /manager/assets/templates/games.tpl.
That file contains just this: "<strong>games here</strong>".
When I hit the components dropdown menu and select my "games" workspace I get the error below.
If /core/components/games/indexp.php contains "return $modx->smarty->fetch( '/manager/assets/templates/games.tpl' );" I get the error below.
If /core/components/games/indexp.php contains "return '<h2 class="modx-page-header">Games</h2>';" it works just fine.
Is something not setup correctly? Thank you in advance for any responses.
Fatal error: Uncaught exception 'SmartyException' with message 'Unable to load template file '/manager/assets/templates/games.tpl'' in E:\Shared\web\pcgamescout\core\model\smarty\sysplugins\smarty_internal_template.php:162 Stack trace: #0 E:\Shared\web\pcgamescout\core\model\smarty\sysplugins\smarty_internal_template.php(537): Smarty_Internal_Template->isExisting(true) #1 E:\Shared\web\pcgamescout\core\model\smarty\Smarty.class.php(335): Smarty_Internal_Template->getRenderedTemplate() #2 E:\Shared\web\pcgamescout\core\model\modx\smarty\modsmarty.class.php(143): Smarty->fetch('/manager/assets...') #3 E:\Shared\web\pcgamescout\core\components\games\index.php(6): modSmarty->fetch('/manager/assets...') #4 E:\Shared\web\pcgamescout\core\model\modx\modmanagerresponse.class.php(83): include('E:\Shared\web\p...') #5 E:\Shared\web\pcgamescout\core\model\modx\modmanagerrequest.class.php(182): modManagerResponse->outputContent(Array) #6 E:\Shared\web\pcgamescout\core\model\modx\modmanagerrequest.class.php(133): modManagerRequest->pr in E:\Shared\web\pcgamescout\core\model\smarty\sysplugins\smarty_internal_template.php on line 162