Mick79
Clients
-
Joined
Solutions
-
Mick79's post in Issue installing application on live server was marked as the answerI figured it out, the front/controllers/... folder structure is required for the files to compile properly:
This code now works with gameplay.js in the gameplay folder:
\IPS\Output::i()->jsFiles = array_merge(\IPS\Output::i()->jsFiles, \IPS\Output::i()->js('front_gameplay.js', 'hangman', 'front')); Thank you all for your assistance 🙂
This was the thread that tipped me off: