Mick23
-
Posts
107 -
Joined
Community Answers
-
Mick23's post in Issue installing application on live server was marked as the answer
I 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: