WeStandWithUkraine

1279 Posts
Bucklash
6 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 VIP membership
4229 Posts
Kadministrator
6 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/

1279 Posts
Bucklash
6 years ago
0
Level 2

Hi Klas

Interesting idea

Thanks

buc

Get a Book for SEBLOD