{"issue":{"state":"open","created_at":"2011-11-29T20:38:22Z","updated_at":"2011-11-29T20:38:26Z","user":{"gravatar_id":"256406243346b9253f8610fb1d1e05f6","id":1215373,"url":"https://api.github.com/users/importer","avatar_url":"https://secure.gravatar.com/avatar/256406243346b9253f8610fb1d1e05f6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"importer"},"comments":4,"body":"**Ziel:**\nwenn zum Beispiel system/modules/news innerhalb von system/modules/z_news erweitert wird,\nsollte es auch möglich innerhalb dieses Ordners die default-templates für news zu überschreiben,\nalso z.B. durch anlegen von system/modules/z_news/templates/news_short.tpl\n\nLeider wird das so angelegte Template nicht gefunden, da in der umgekehrten Reihenfolge nach dem passenden Template gesucht wird.\n\nDie ausführliche Beschreibung befindet sich hier:\n[http://www.contao-community.de/showthread.php?18427-Bei-Modulerweiterung-auch-das-Template-erweitern]\n\nDie dazu nötige Codeänderung im Controller.php (Zeile 100) ist minimal:\n\n```\n// foreach ($this->Config->getActiveModules() as $strModule) // VORHER \nforeach (array_reverse($this->Config->getActiveModules(), true) as $strModule) // BESSER? \n```\n\n--- _Originally created by matths on April 1st, 2011, at 11:06am (ID 2977)_","assignee":{"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"},"id":2392513,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[{"name":"Feature","color":"4183c4","url":"https://api.github.com/repos/contao/import/labels/Feature"},{"name":"framework","color":"e6e6e6","url":"https://api.github.com/repos/contao/import/labels/framework"}],"number":2977,"title":"Templates im Ordner der Modulerweiterung überschreiben","closed_at":null,"html_url":"https://github.com/contao/import/issues/2977","url":"https://api.github.com/repos/contao/import/issues/2977","milestone":{"state":"open","created_at":"2011-11-29T15:29:54Z","closed_issues":102,"due_on":null,"creator":{"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"},"number":32,"description":"Contao 2.10.0 (minor release)","title":"2.10.0","open_issues":1,"url":"https://api.github.com/repos/contao/import/milestones/32"}},"action":"created","comment":{"created_at":"2011-11-29T20:38:26Z","updated_at":"2011-11-29T20:38:26Z","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":"--- _Originally completed on May 26th, 2011, at 03:08pm_","id":2946831,"url":"https://api.github.com/repos/contao/import/issues/comments/2946831"}}