Previously, I could remove (unset) "k2.js" from the header as below:
But now, after upgrading to version 2.6.7, that doesn't work anymore. That's certainly because the js file is called with a new path:
So I have two different question:
1. How should I unset the k2.js file? (Probably with preg_match_all)
2. From where the k2.js is declared? I mean, where is the code that add k2.js to the header?
Thanks in advance
unset($this->_scripts[$this->baseurl .'/components/com_k2/js/k2.js']);But now, after upgrading to version 2.6.7, that doesn't work anymore. That's certainly because the js file is called with a new path:
/components/com_k2/js/k2.js?v2.6.7&sitepath=/So I have two different question:
1. How should I unset the k2.js file? (Probably with preg_match_all)
2. From where the k2.js is declared? I mean, where is the code that add k2.js to the header?
Thanks in advance

