mercredi 29 juin 2016

Backend extension not working with other libraries

in my custom extension for typo3 which is ported from 6.2.9 to 7.6.9 I want to use jquery and bootstrap.js

But if I use both one of them is not working well.

in my layoutfile I define this:

<f:be.container>

    <script src="{f:uri.resource(path:'js/jquery-2.1.4.min.js')}" type="text/javascript"></script>
   <script src="{f:uri.resource(path:'js/bootstrap.js')}" type="text/javascript"></script>
    <script src="{f:uri.resource(path:'js/jquery.tablesorter.min.js')}" type="text/javascript"></script>
    <!-- Chart JS -->
    <script src="{f:uri.resource(path:'js/Chart.min.js')}" type="text/javascript"></script>
    <link href="{f:uri.resource(path:'css/resultrepository.css')}" rel="stylesheet" type="text/css"/>
    <!-- Bootstrap -->
    <link href="{f:uri.resource(path:'css/bootstrap.min.css')}" rel="stylesheet">

    <!-- Globales JavaScript für das Result Repository Modul -->
    <script src="{f:uri.resource(path:'js/rereGlobal.js')}" type="text/javascript"></script>

    <!-- JS for Noteverwaltung.html -->
    <script src="{f:uri.resource(path:'js/noteverwaltung.js')}" type="text/javascript"></script>

    <!-- FontAwesome -->
    <link href="{f:uri.resource(path:'css/font-awesome.min.css')}" rel="stylesheet">

In this case what could be the problem? Former when I used it in typo3 6.2.9 it worked fine with the code above. Just in 7.6.9 only jquery or bootstrap.js is working.

Aucun commentaire:

Enregistrer un commentaire