I have a specific fancybox.js file which I want to load at the end of all the JS files included in my local.xml
If load order can be changed then how can a JS file be loaded (included) at the end ?
Thanks.
layouttheme
I have a specific fancybox.js file which I want to load at the end of all the JS files included in my local.xml
If load order can be changed then how can a JS file be loaded (included) at the end ?
Thanks.
Best Answer
You can sort the order of
skin
orjs
files in layout.xml by using the params element with a name attribute like this answer explains:-