Jump to content

not load all js files from GC

js theme bootstarp files

  • Please log in to reply
No replies to this topic

#1 elGerminado



  • Members
  • Pip
  • 1 posts

Posted 27 April 2017 - 05:07 AM

Hi, I apologize for my English, I'm still learning.
My question was, I have a bootstrap theme that has its own bootstrap files.
Then I have a modal to punch the time, and in the pages that I do not have GC works perfect, but where I have GC it automatically closes. When you put the file at startup, some functions that you program for the modal do not work. I read that it might be that they are loading two identical files, but if I burn the one who brought the theme, it stops working some very important features of the theme. Is there any way I can not upload the GC modal file, to leave only the bootstrap file? I understand that the bootstrap.min.js file brings the modal, or having two equal things does conflict. My code is like this
the head
<script src="<?php echo base_url('assets/admin/vendor/bootstrap/js/bootstrap.min.js'); ?>"></script> <-- i need this file

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
foreach($css_files as $file): ?>
    <link type="text/css" rel="stylesheet" href="<?php echo $file; ?>" />
<?php endforeach; ?>
<?php foreach($js_files as $file): ?>
    <script src="<?php echo $file; ?>"></script>
<?php endforeach; ?>

Also tagged with one or more of these keywords: js, theme, bootstarp, files

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users