Issue Bug Closed

#22273PageRenderer does not work for USER_INT plugins

Susanne Moog 03/13/10, 15:11 updated 10/02/18, 12:25

Description

From the mailinglist (thread on typo3.dev called “PageRender and USER_INT Plugins”)

“it looks like the pageRenderer actually renders all the page content before the USER_INT plugins are substituted in the cached output. When this substitution occurs, it seems to only support the old TSFE->additionalHeaderData and not the pageRenderer.”

To reproduce

With felogin (or any other USER_INT plugin):

- Added “$GLOBALS[‘TSFE’]->getPageRenderer()->addCssFile(‘fileadmin/html/123.css’);” to the main function —> does not get included
- Changed plugin to USER instead of USER_INT —> file gets included
- Changed back —> gets not included
(issue imported from #M13808)

Reviews 1

Subtasks 2