{"issue":{"created_at":"2011-11-29T19:23:18Z","state":"closed","updated_at":"2011-11-29T19:23:22Z","user":{"gravatar_id":"256406243346b9253f8610fb1d1e05f6","id":1215373,"url":"https://api.github.com/users/importer","login":"importer","avatar_url":"https://secure.gravatar.com/avatar/256406243346b9253f8610fb1d1e05f6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":2,"body":"I wanted set a CE gallery but with my own template. I prepare **gallery_oliwa.tpl** template and upload to /template/oliwia folder where are the rest templates related to my theme.\nWhen I created CE gallery I was able to see my own template on \"Gallery template\" list. After \"Save\" everything seems to be fine in FE and in BE. Bu when I press \"Save and close\" I receive this error:\n\n```\nFatal error: Uncaught exception Exception with message Could not find template file \"gallery_oliwa\" thrown in /home/qrczak/public_html/mypage/system/libraries/Controller.php on line 109\n#0 /home/qrczak/public_html/mypage/system/libraries/Template.php(142): Controller->getTemplate('gallery_oliwa')\n#1 /home/qrczak/public_html/mypage/system/modules/frontend/FrontendTemplate.php(49): Template->parse()\n#2 /home/qrczak/public_html/mypage/system/modules/frontend/ContentGallery.php(285): FrontendTemplate->parse()\n#3 /home/qrczak/public_html/mypage/system/modules/frontend/ContentElement.php(128): ContentGallery->compile()\n#4 /home/qrczak/public_html/mypage/system/modules/frontend/ContentGallery.php(74): ContentElement->generate()\n#5 /home/qrczak/public_html/mypage/system/libraries/Controller.php(415): ContentGallery->generate()\n#6 /home/qrczak/public_html/mypage/system/modules/backend/dca/tl_content.php(781): Controller->getContentElement('142')\n#7 /home/qrczak/public_html/mypage/system/drivers/DC_Table.php(3478): tl_content->addCteType(Array)\n#8 /home/qrczak/public_html/mypage/system/drivers/DC_Table.php(345): DC_Table->parentView()\n#9 /home/qrczak/public_html/mypage/system/modules/backend/Backend.php(234): DC_Table->showAll()\n#10 /home/qrczak/public_html/mypage/contao/main.php(101): Backend->getBackendModule('article')\n#11 /home/qrczak/public_html/mypage/contao/main.php(297): Main->run()\n#12 {main}\n```\n\nIt's mean I can't get list of CE elements of this article. The system says to me that **Could not find template file \"gallery_oliwa\"** but this template was on the list and it works in FE. But if I copy my template to /system/modules/frontend/templates error disappeared.\nI checked this on two installations.\n\nRelated issues: #2345\n\n--- _Originally created by qrczak on July 21st, 2010, at 05:52pm (ID 2328)_","assignee":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","login":"leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"id":2390788,"number":2328,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[{"name":"backend","color":"e6e6e6","url":"https://api.github.com/repos/contao/import/labels/backend"},{"name":"Defect","color":"bd2c00","url":"https://api.github.com/repos/contao/import/labels/Defect"}],"title":"Own CE gallery template","closed_at":"2011-11-29T19:23:22Z","html_url":"https://github.com/contao/import/issues/2328","url":"https://api.github.com/repos/contao/import/issues/2328","milestone":{"created_at":"2011-11-29T15:29:53Z","state":"closed","due_on":null,"closed_issues":33,"creator":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","login":"leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"number":31,"description":"Contao 2.9.1 (maintenance release)","title":"2.9.1","url":"https://api.github.com/repos/contao/import/milestones/31","open_issues":0}},"action":"closed"}