How to add external JavaScript and CSS to the backend module in TYPO3

I work with CMS TYPO3. I would like to add external JavaScript and CSS to the backend module, but I'm actually not sure how to add them. Could you advise me how to implement this?

+4
source share
1 answer

Via the FLUID fx template: Layout / Default.html

<f:be.container
  includeCssFiles="{0: '{f:uri.resource(path:\'Css/Styles.css\')}'}"
  includeJsFiles="{0: '{f:uri.resource(path:\'JavaScript/Library1.js\')}', 1: '{f:uri.resource(path:\'JavaScript/Library2.js\')}'}">
your module content
</f:be.container>
+5
source

Source: https://habr.com/ru/post/1657707/


All Articles