unknown files in example: DataTables server-side processing example with hidden row information

unknown files in example: DataTables server-side processing example with hidden row information

carlosavilescarlosaviles Posts: 21Questions: 0Answers: 0
edited March 2013 in General
Hello. I am trying to use this example from the source files: DataTables server-side processing example with hidden row information
When loading details_col.php it includes this: [code]include( $_SERVER['DOCUMENT_ROOT']."/datatables/mysql.php" );[/code] I have removed and I can´t see my table running. Using the server side example it runs great. Where is the difference? I am using bootstrap css. thanks in advance

Replies

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    Read the comment on the line before the line you pasted above :-)

    > /* REMOVE THIS LINE (it just includes my SQL connection user/pass) */

    It is simply for my development environment so it will automatically include my own settings without me needing to modify the scripts every time I make a release. I'll make sure to add to the build script to strip these lines out in future.

    Allan
  • carlosavilescarlosaviles Posts: 21Questions: 0Answers: 0
    Thanks Allan. I solved it. It´s possible to use this example with the same settings that in editor example? Thanks another time
  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    Possibly - you could modified the files to have them use the same information, but to be honest, you'd be better just using the Editor PHP libraries, as they have server-side processing options built into them.

    I see your Editor trial is now over. How did you get on with it?

    Allan
  • carlosavilescarlosaviles Posts: 21Questions: 0Answers: 0
    thanks Allan. I finally have used this beacuse my table is responsive.: [code] "sDom": "<'row-fluid'<'span6'T><'span6'f>r>t<'row-fluid'<'span6'i><'span6'p>>",[/code] I will use your example the Editor PHP libraries.
    Thanks a lot for your help sincerly. Best regards
This discussion has been closed.