[TYPO3-mvc] Instantiate extbase action controller inside tslib_fe hook
Thomas "Thasmo" Deinhamer
thasmo at gmail.com
Fri Oct 30 23:54:54 CET 2009
What is the correct way to add external CSS and JS files
inside a hook and/or a frontend plugin/action controller?
If files are added using 'additionalHeaderData()', the files
won't be available inside the frontend renderer arrays.
What's the solution?
Thank you!
Steffen Kamper schrieb:
> Thomas "Thasmo" Deinhamer schrieb:
>>
>> My idea now, was to put all the search/compress code into a frontend
>> plugin, which then gets called inside the hook, hoping that doing it
>> this way, the configuration is available inside the frontend plugin.
>>
>
> seeing your posts on dev it seems that you didn't look to the existing
> possibilities. There is a hook in pageRenderer where you can concatenate
> and compress all CSS and JS, just do it.
>
> vg Steffen
More information about the TYPO3-project-typo3v4mvc
mailing list