
Error in File Download Module in Tabbed Container
Reported by theohiobloke | June 8th, 2012 @ 07:02 PM | in 2.0.8 (closed)
I created a tabbed container with 4 different modules the last one added was a file download module which when added throws the following error.
Fatal error: Uncaught exception 'SmartyException' with message 'Unable to load template file 'filedownloaditem.tpl' in 'showall_quick_download.tpl'' in /data1/patrickhenry2/external/Smarty-3.1.8/libs/sysplugins/smarty_internal_templatebase.php:127 Stack trace: #0 /data1/patrickhenry2/external/Smarty-3.1.8/libs/sysplugins/smarty_internal_template.php(285): Smarty_Internal_TemplateBase->fetch(NULL, NULL, NULL, NULL, false, false, true) #1 /data1/patrickhenry2/tmp/views_c/344458f24dfd4b69d919b247f50bd9567617079b8a94e54d47cb477c0c79e2fc658a481d.file.showall_quick_download.tpl.php(95): Smarty_Internal_Template->getSubTemplate('filedownloadite...', NULL, '344458f24dfd4b6...', NULL, NULL, Array, 0) #2 /data1/patrickhenry2/external/Smarty-3.1.8/libs/sysplugins/smarty_internal_templatebase.php(180): content_4fd21d401525f8_68622634(Object(Smarty_Internal_Template)) #3 /data1/patrickhenry2/external/Smarty-3.1.8/libs/sysplugins/smarty_internal_templatebase.php(374): Smarty_Internal_TemplateBase->fetch('showall_quick_d...', NULL, NUL in /data1/patrickhenry2/external/Smarty-3.1.8/libs/sysplugins/smarty_internal_templatebase.php on line 127
Comments and changes to this ticket
-
dleffler June 8th, 2012 @ 08:26 PM
- State changed from new to wontfix
- Tag set to filedownload
- Milestone set to 2.0.8
- Milestone order changed from 100 to 0
Since we don't ship a 'showall_quick_download.tpl' template, I'll assume this is a custom template in the theme folder?
The chain'ed 'filedownloaditem.tpl' file is set to look in the current folder unless you place the entire path in the {chain ...} line.
To make things easier to code, we went to a simple 'item' template in some of the core modules, so it'd be MUCH easier to 'wrap' them with a different kind of display. Make having a bunch of different types of views easy (showall, accordion, tabbed, recent, etc...)
SO...if you customize the main template, you'll either have to copy the xxx_item.tpl file to the theme folder, or change the path to ref the system one.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Bug Tracker for Exponent CMS