Possibility to place JS files into the footer area
Opened this issue · 4 comments
rostyslavmatviiv commented
Is it possible to add possibility to include JS files into the footer area like you do it within includeJSFooter in Typoscript?
neufeind commented
This is currently not possible. However we could have "external=1" like with the CSS-file.
In case this finds consensus I'll be happy to provide a pull-request.
neufeind commented
Achim Fritz pointed out to me that there are viewhelpers in the core for adding (external) assets with the builtin assetcollector. Does this help you maybe?
https://docs.typo3.org/other/typo3/view-helper-reference/main/en-us/typo3/fluid/latest/Asset/Index.html
rostyslavmatviiv commented
@neufeind Thank you! We have fixed this issue by extending some class. But your solution might work. Thank you!
btw provided link leads to 404