Closed simonreitinger closed 6 years ago
or should I use $GLOBALS['TL_MOOTOOLS'] (for adding js to the closing body tag) and $GLOBALS['TL_CSS']?
That's the way to do it, yes.
It would be nice if we could ad small pieces of JS & CSS to the BE in SystemSettings just as it is possible for the FE in Layouts. https://github.com/contao/contao/issues/6377
It would be nice if we could ad small pieces of JS & CSS to the BE in SystemSettings just as it is possible for the FE in Layouts. contao/contao#6377 (comment)
See contao/core-bundle#1437
Is there any possibility that blocks for javascript and css get added in
be_page.html.twig
or should I use$GLOBALS['TL_MOOTOOLS']
(for adding js to the closing body tag) and$GLOBALS['TL_CSS']
?