How to implement DataTables Edit in Joomla CMS

How to implement DataTables Edit in Joomla CMS

ostmalostmal Posts: 102Questions: 33Answers: 0

I did it according to the instructions and got an example on my website:
https://sl19374928zzaljekswdf.vibory.pro/editor01/examples/simple/simple.html
But I would like to do this in a Joomla CMS. To make it work in a separate module.

Replies

  • allanallan Posts: 63,205Questions: 1Answers: 10,415 Site admin

    I'm afraid we don't provide an integration module for Joomla - its just plain PHP that we offer. You'd need to refer to the Joomla documentation to see how to create a new module and integrate external Javascript, etc.

    Allan

  • ostmalostmal Posts: 102Questions: 33Answers: 0

    OK. I used the "Sourcerer" plugin and inserted the HTML file. But I replaced the relative paths in this file with absolute ones. And it worked for me.
    Tell us, we specify the database access parameters in the "lib\config" file.php". How safe is it?

  • allanallan Posts: 63,205Questions: 1Answers: 10,415 Site admin

    It should be perfectly safe. You need to make sure that the file can't be read un-rendered by a web-browser - e.g. simply doing http://mySite/config.php displaying the raw PHP would be a massive security hole, but presumably you've got it being interpreted as PHP so it would never be displayed raw. It's work double checking that just to convince yourself it is secure.

    Allan

  • ostmalostmal Posts: 102Questions: 33Answers: 0

    thank you

This discussion has been closed.