Re: Theme Business-Casual
Posted: Tue Aug 15, 2017 2:07 pm
I think I found the problem - could be JQuery.
At the end of the index.php (bl-themes/Business-Casual/) there was something wrong:
Code: Select all
<!-- jQuery -->
<script src="js/jquery.js"></script>
<!-- Bootstrap Core JavaScript -->
<script src="js/bootstrap.js"></script>
<!-- Bootstrap Core JavaScript -->
<?php Theme::javascript('bootstrap.min.js') ?>
Code: Select all
<!-- jQuery -->
<!-- script src="js/jquery.js"></script -->
<?php Theme::javascript('jquery.js') ?>
<!-- Bootstrap Core JavaScript -->
<!-- script src="js/bootstrap.js"></script -->
<?php Theme::javascript('bootstrap.js') ?>
<!-- Bootstrap Core JavaScript -->
<?php Theme::javascript('bootstrap.min.js') ?>
Uncaught Error: Bootstrap's JavaScript requires jQuery
at bootstrap.js:8 in this file →if (typeof jQuery === 'undefined') {
throw new Error('Bootstrap\'s JavaScript requires jQuery')}
bootstrap.min.js:6 Uncaught Error: Bootstrap's JavaScript requires jQuery
at bootstrap.min.js:6 the same
In the head.php looks like it is OK:
Code: Select all
// Javascript from theme/js/
Theme::javascript(array(
'rainbow.min.js',
'bootstrap.js',
'bootstrap.min.js',
'jquery.js',
));
Any ideas