contao / core-bundle

[READ-ONLY] Contao Core Bundle
GNU Lesser General Public License v3.0
123 stars 58 forks source link

add CSS and JS in be_page.html.twig #1664

Closed simonreitinger closed 6 years ago

simonreitinger commented 6 years ago

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']?

fritzmg commented 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.

asaage commented 6 years ago

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

fritzmg commented 6 years ago

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 also https://github.com/contao/core-bundle/issues/1437

leofeyer commented 6 years ago

See contao/core-bundle#1437