1283 Posts
Bucklash
8 years ago
Topic

Hi folks

Does seblod force Joomla to load "/media/jui/js/bootstrap.min.js?

  

In my template I have...

unset($this->_scripts[JURI::root(true).'/media/jui/js/bootstrap.min.js']); // stop Joomla loading bs2.js

but on certain pages, it gets loaded.

Thanks

Bucklash

Get a Book for SEBLOD
4229 Posts
Kadministrator
8 years ago
1
Level 1

Seblod can't force something that is unset in template as template always comes last in the execution order. But I would recommend overriding this file instead of resetting it, you can use e.g. bS 3 by simply placing bootstrap.min.js in yourtemplate/js/jui folder, this way your version will always get loaded instead of default joomla one, the same goes for css, just change folder to css/jui/

1283 Posts
Bucklash
8 years ago
0
Level 2

Hi Klas

Interesting idea

Thanks

buc

Get a VIP membership