Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
LaCollision Posted May 27, 2015 Posted May 27, 2015 Hi there, I'm creating a widget that needs to load a javascript file. I've added a .js file in: /applications/myapp/dev/js/front/controllers/myjsfile.js … and I've compiled my app, so I have a /applications/myapp/data/javascript.xml file that contains the javascript: <javascript app="myapp"> <file javascript_app="myapp" javascript_location="front" javascript_path="controllers" javascript_name="myjsfile.js" javascript_type="controller" javascript_version="100000" javascript_position="1000050">the javascript code</file> </javascript> … but now, how do I include this javascript resource in my widget .phtml file? Thanks a lot!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.