Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
BomAle Posted March 30, 2018 Posted March 30, 2018 I seen app.js is loaded when init dispatcher, It includes \IPS\ROOT_PATH . "/applications/{$app}/dev/js/{$location}/mixins", \IPS\ROOT_PATH . "/applications/{$app}/dev/js/{$location}/models", \IPS\ROOT_PATH . "/applications/{$app}/dev/js/{$location}/ui" if you respect this format your mixin could be automatically loaded, then create inside app/dev/js a folder "front" and move mixins folder inside. note: not tested ?
imJexs Posted March 30, 2018 Posted March 30, 2018 54 minutes ago, BomAle said: I seen app.js is loaded when init dispatcher, It includes \IPS\ROOT_PATH . "/applications/{$app}/dev/js/{$location}/mixins", \IPS\ROOT_PATH . "/applications/{$app}/dev/js/{$location}/models", \IPS\ROOT_PATH . "/applications/{$app}/dev/js/{$location}/ui" if you respect this format your mixin could be automatically loaded, then create inside app/dev/js a folder "front" and move mixins folder inside. note: not tested ? So the file I found that makes the magic happen is located in /dev/js/admin/mixins/ips.core.table.js It's not located in the applications/core/dev/js directory. So is the root /dev/ directory considered the core app as well? I guess I'm not sure how the root /dev/ directory works
BomAle Posted March 30, 2018 Posted March 30, 2018 You must download the SDK files and upload into your installation, enable IN_DEV constant into constants.php file
imJexs Posted March 30, 2018 Posted March 30, 2018 1 minute ago, BomAle said: You must download the SDK files and upload into your installation, enable IN_DEV constant into constants.php file I think you misunderstood me. I know of the SDK and whatnot. I've written a few applications before, just haven't messed with the front end much. But apparently I just need to triple check things before I write them off. I just tested the js include from your original post and it works now. I have no idea what I missed the first time, but it's working. Much appreciated.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.