b13/assetcollector

Possibility to place JS files into the footer area

Opened this issue · 4 comments

Is it possible to add possibility to include JS files into the footer area like you do it within includeJSFooter in Typoscript?

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.

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

@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

@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

sorry, link corrected now in the above comment. copy-paste-error of the url.