Download not including styling framework

Download not including styling framework

vince-carrascovince-carrasco Posts: 21Questions: 7Answers: 0

the styling framework is not being added into the download wizard. Jut me or everyone?

Answers

  • kthorngrenkthorngren Posts: 19,961Questions: 26Answers: 4,701
    edited July 2023

    Looks like the Download Builder is allowing for selection of the styling framework then an option to include that framework and the CDN as the framework listed. I tried with Bootstrap 4. Please provide the options you are selecting so we can see where the problem is.

    Kevin

  • vince-carrascovince-carrasco Posts: 21Questions: 7Answers: 0
    edited July 2023

    I am signed in
    i have tried many, many combinations, no styling is distributed, either CDN or download, for example
    step1
    Bootstrap 5 (or any styling)
    step2
    jQuery 3
    Datatables
    estensions none

  • vince-carrascovince-carrasco Posts: 21Questions: 7Answers: 0
    edited July 2023
    CDN tab
    <link href="https://cdn.datatables.net/1.13.5/css/dataTables.bootstrap5.css" rel="stylesheet"/>
    <script src="https://code.jquery.com/jquery-3.7.0.js"></script>
    <script src="https://cdn.datatables.net/1.13.5/js/jquery.dataTables.js"></script>
    <script src="https://cdn.datatables.net/1.13.5/js/dataTables.bootstrap5.js"></script>
    Download tab
    <link href="DataTables-1.13.5/css/dataTables.bootstrap5.css" rel="stylesheet"/>
    <script src="jQuery-3.7.0/jquery-3.7.0.js"></script>
    <script src="DataTables-1.13.5/js/jquery.dataTables.js"></script>
    <script src="DataTables-1.13.5/js/dataTables.bootstrap5.js"></script>
    
  • kthorngrenkthorngren Posts: 19,961Questions: 26Answers: 4,701

    In step 2 you also need to choose Bootstrap 5 to include the BS 5 CDN links. However I see when downloading the datatables.css files aren't there and the contents for the datatables.js file is empty except for this:

    /*
     * This combined file was created by the DataTables downloader builder:
     *   https://datatables.net/download
     *
     * To rebuild or modify this file with the latest versions of the included
     * software please visit:
     *   https://datatables.net/download/#bs5-5.3.0/dt-1.13.5
     *
     * Included libraries:
     *   Bootstrap 5 5.3.0, DataTables 1.13.5
     */
    

    The download content is correct if just using Datatables styling. @allan will need to see why the download package when including BS 5 and possibly others is not correct.

    Kevin

  • vince-carrascovince-carrasco Posts: 21Questions: 7Answers: 0

    copy, thanks. will check back later.

  • allanallan Posts: 61,083Questions: 1Answers: 9,961 Site admin

    Fixed now - apologies for that error.

    Regards,
    Allan

Sign In or Register to comment.