Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility to place JS files into the footer area #17

Open
rostyslavmatviiv opened this issue Jan 20, 2023 · 4 comments
Open

Possibility to place JS files into the footer area #17

rostyslavmatviiv opened this issue Jan 20, 2023 · 4 comments

Comments

@rostyslavmatviiv
Copy link

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

@neufeind
Copy link

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
Copy link

neufeind commented Aug 16, 2023

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
Copy link
Author

@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
Copy link

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants