contao/import — Issue #64: reactivate hook parseTemplate
Author: computino
Created: 2011-11-29 15:36:27+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 on September 5th, 2008, at 10:21am (ID 64)_