Hi... I've run into a situation that I've never had on any other Silverstripe site - I can't get Requirements to load at all:
In my mysite/code/Page.php
Doesn't load anything - so I figured it might be something I'm doing so i changed
Requirements::customScript(<<<JS alert("hi there"); JS );
just to see but no custom scripts or css is loading at all -
I'm going to try reinstalling the core just incase something got borked there but any ideas?
Hmm... Nothing on the reinstall but I added Requirements::set_write_js_to_body(false); to _config and now it works. It shouldn't do that though right? As well, CustomCSS doesn't work either so something is certainly off.