create an adv module with controller , let's say i just want to add in some javascript so that when the admin user choose from the dropdown, it will redirect to another page, do i need to use jqx ? or i can just add in some custom javascript ?
how should i do it ?
1. create the js function on modulename/asset/js/custom.js
2. load the js in controller ? is it using $this->js='custom' ?
Comments
I'd like to overwrite some functionality in _iniAssets() in BaseFuelController.js with my own behavior without hacking at the existing Fuel code.
Or is $config['fuel_javascript'] down in /fuel/modules/fuel/config/fuel.php the place to add?
Coming changes sound great too.
Why is it that a css file within an advanced module's assets folder will be autoloaded, but the same thing won't happen with js files? I.e.:
/modules/my_module/assets/css/my_module.css is loaded and available within the backend
/modules/my_module/assets/js/my_module.js is not
Maybe this might be a nice thing to have...?
[SOLVED] answer here: http://www.getfuelcms.com/forums/discussion/comment/1534/#Comment_1534