⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

not load all js files from GC



elGerminado

elGerminado
  • profile picture
  • Member

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="">
    <?php 
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; ?>