How do you install DataTables Editor

How do you install DataTables Editor

rmeetinrmeetin Posts: 100Questions: 24Answers: 1

This might sound like a silly question. However...

Several years ago when I licensed and installed DTE I got it working. However now when attempting to upgrade I see a missing piece - although when I go to this page and download and install the files, https://datatables.net/download/index, the zip file includes a batch of .js and .css files. That looks good. However there is a separate folder which I must include which contains:

ls -l:
total 24
drwxr-xr-x 3 freud freud 4096 Feb 23 08:17 css
drwxr-xr-x 2 freud freud 4096 Nov 6 09:02 Editor-PHP-1.7.3
drwxr-xr-x 15 freud freud 4096 Feb 23 08:17 examples
drwxr-xr-x 2 freud freud 4096 Feb 23 08:17 js
drwxr-xr-x 6 freud freud 4096 Feb 23 08:17 php
-rw-r--r-- 1 freud freud 1069 Nov 6 09:06 Readme.txt

ls -l php
total 28
-rw-r--r-- 1 freud freud 1543 Nov 6 09:06 Bootstrap.php
-rw-r--r-- 1 freud freud 852 Nov 6 09:06 config.php
drwxr-xr-x 3 freud freud 4096 Feb 23 08:17 Database
-rw-r--r-- 1 freud freud 926 Nov 6 09:06 DataTables.php
drwxr-xr-x 3 freud freud 4096 Feb 23 08:17 Editor
drwxr-xr-x 2 freud freud 4096 Feb 23 08:17 Ext
drwxr-xr-x 3 freud freud 4096 Feb 23 08:17 Vendor

This seems to be the application itself. In my controller files for editor I include $path/php/DataTables.php

And the magic works. Since I'm upgrading I wish to upgrade everything. The question is where do you go to get that folder which I assume includes the license?

Answers

  • allanallan Posts: 63,687Questions: 1Answers: 10,500 Site admin

    If you are using the downloader (which you are), the licensed Editor file will automatically be included for you. There isn't a separate license file as such - its just the Javascript. In the trial the Javascript is obfuscated and time limited. With the licensed version, it is not.

    Allan

  • rmeetinrmeetin Posts: 100Questions: 24Answers: 1

    I looked inside that php folder listed above,

    drwxr-xr-x 6 freud freud 4096 Feb 23 08:17 php

    It seems to contain the executables or application pieces that make DataTables work.

    That php folder is not part of the download bundle that you build when visiting the https://datatables.net/download/index page. Where does it come from? I have it local but I don't remember the origin.

  • allanallan Posts: 63,687Questions: 1Answers: 10,500 Site admin

    It will come from https://editor.datatables.net/download . That's where you can download the backend libraries for Editor. The DataTables download builder however only includes the frontend code (i.e. JS / CSS).

    Allan

  • rmeetinrmeetin Posts: 100Questions: 24Answers: 1

    This is really confusing to normal human beings. Even though I have a valid license, now I need to purchase/upgrade?

  • allanallan Posts: 63,687Questions: 1Answers: 10,500 Site admin

    Not at all - you can download the latest v1.x version of Editor from this page.

    The download builder supports only the latest versions of our software, but could you readily select all the latest versions (minus Editor), download that, and then add the Editor download as well.

    Allan

This discussion has been closed.