How should I use the downloaed packages which contains folders of extension

How should I use the downloaed packages which contains folders of extension

ChuckLuChuckLu Posts: 53Questions: 8Answers: 0

Link to test case:
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem:
The files required for the link and script tags shown above can be downloaded using the button below. The package is downloaded as a zip file which should be unzipped and uploaded to your web-server.

I am a little confused by uploaded to your web-server, what does this mean?
Currently I suppose to only upload two files datatables.min.css and datatables.min.js to server, am I right?
I suppose these two files, contains all the css, js and extension components.

This question has an accepted answers - jump to answer

Answers

  • ChuckLuChuckLu Posts: 53Questions: 8Answers: 0

    I just wonder that if I need to upload the subfolders in above screenshot.

  • kthorngrenkthorngren Posts: 21,332Questions: 26Answers: 4,951

    Thje Download Builder will combine all the selected extensions into the files. You can view the files to see what is included, for example:

    /*
     * 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/#dt/jszip-3.10.1/pdfmake-0.2.7/dt-1.13.8/b-2.4.2/b-html5-2.4.2
     *
     * Included libraries:
     *   JSZip 3.10.1, pdfmake 0.2.7, DataTables 1.13.8, Buttons 2.4.2, HTML5 export 2.4.2
     */
    

    Also note there is a link to allow for rebuilding the files.

    Kevin

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Answer ✓

    I just wonder that if I need to upload the subfolders in above screenshot.

    No. They were needed once upon a time (for images), but no longer.

    Allan

  • ChuckLuChuckLu Posts: 53Questions: 8Answers: 0

    Hi @allan, @kthorngren ,
    So, I just need add the datatables.min.css and datatables.min.js to the server, right? Maybe you can add this part to the notes:The package is downloaded as a zip file which should be unzipped and uploaded to your web-server(only datatables.min.css and datatables.min.js needed).

    The current note is not that clear, someone may think all subfolders also needed, one of my colleague thinks.

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin

    Agreed. Thanks for the suggestion.

    Allan

Sign In or Register to comment.