contao/issues — Issue #64: reactivate hook parseTemplate
Author: importer
Created: 2011-11-24 08:19:13+00:00
State: open
Labels: Feature, framework

as discussed here: http://www.contao.org/forum/message/47284.html
the two new hooks parseFrontendTemplate and parseBackendTemplate are not really replacing parseTemplate, because a lot of internal request (modules, content elements) go directly to Template->parse() and do therefore not trigger any hook. Only the main template itself (fe_page) triggers parseFrontendTemplate, but no call is made for the single elements of the page.

some Solutions would be
a) dirty fix: patch Template->parse() to work like before and trigger the hook (which would mean reintegration of hook parseTemplate)
b) clean fix: reactivation of the hook parseTemplate in the core
c) all modules with frontend output would have to be rewritten to use FrontendTemplate instead of Template (same goes for backend)

--- _Originally created by markus.milkereit on September 5th, 2008, at 10:21am (ID 64)_