{"issue":{"created_at":"2011-12-02T15:17:59Z","state":"open","updated_at":"2011-12-04T18:18:48Z","comments":1,"user":{"gravatar_id":"dc8608867cf589d9039f95a60e8b8006","id":683894,"url":"https://api.github.com/users/tsarma","avatar_url":"https://secure.gravatar.com/avatar/dc8608867cf589d9039f95a60e8b8006?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"tsarma"},"body":"Since \r\nIn Controller.php, function getTemplate is capable of accepting 2nd parameter, namely extension of Template.\r\n\r\nIn Module.php function generate():\r\nwe should be able to pass 2nd argument for template ending (xhtml, html5 ... )\r\neg: $this->Template = new FrontendTemplate($this->strTemplate, $this->$strFormat);\r\n\r\nAnd\r\n\r\nIn Template.php,  $strFormat = 'html5'; which is defined with default value, should be able to change in the construct funciton.\r\n\r\nI am suggesting it because I am loading a FE module in a lightbox with ajax.php. All my template has extension 'xhtml'. Everytime when the cache is empty, it throws error 'Using .tpl files  ..... '.tpl) is deprecated. Please use the new .html5 and .xhtml files instead.' .\r\n","assignee":null,"labels":[{"color":"4183c4","name":"Feature","url":"https://api.github.com/repos/contao/core/labels/Feature"},{"color":"ffdd00","name":"Pending","url":"https://api.github.com/repos/contao/core/labels/Pending"}],"id":2428145,"number":3669,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"Template ending $strFormat should be able to change","closed_at":null,"html_url":"https://github.com/contao/core/issues/3669","url":"https://api.github.com/repos/contao/core/issues/3669","milestone":null},"action":"created","comment":{"created_at":"2011-12-04T18:18:48Z","updated_at":"2011-12-04T18:18:48Z","user":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"leofeyer"},"body":"I don't fully understand. Can you please post a code sample?","id":3007854,"url":"https://api.github.com/repos/contao/core/issues/comments/3007854"}}