#22273PageRenderer does not work for USER_INT plugins
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)