dataTables in WordPress with CodeIgniter doing back-end CRUD calculations
dataTables in WordPress with CodeIgniter doing back-end CRUD calculations
David_Bell
Posts: 1Questions: 0Answers: 0
I'm happily using WordPress for simple pages and posts. When I saw iFadey's tutorial on
CRUD in CodeIgniter using Ajax (http://www.ifadey.com/2010/10/crud-using-jquery-and-codeigniter-vi/), I decided to merge WordPress (for general structure) and CodeIgniter (for back-end DB and calculation).
Turns out that the tutorial uses jquery.dataTables for its last step before presentation.
My clone of step 6 of the tutorial works fine (http://usw.offthisweek.com/crud006).
[Ed. As of this writing, 06 October, 2011, 9:30 PDT, my debugging statements are present, data retrieval, data augmentation, then successful display.]
Putting the html into WordPress and pointing off to a clone of the tutorial logic, all the initial steps succeed, but after the call to dataTables, the table reports "No data available in table." (http://usw.offthisweek.com/testing-crud/02-tutorial-crud/)
[Ed. As of this writing, I have removed the alerts that show the intermediate steps.]
I have searched both the WordPress.org forums and the dataTables forums, but I have not found anything to help me figure out what difference between the two instantiations is causing the rows to disappear.
Thanks for any suggestions you can offer.
David
ps. I plan to cross-post to WordPress and dataTables.
CRUD in CodeIgniter using Ajax (http://www.ifadey.com/2010/10/crud-using-jquery-and-codeigniter-vi/), I decided to merge WordPress (for general structure) and CodeIgniter (for back-end DB and calculation).
Turns out that the tutorial uses jquery.dataTables for its last step before presentation.
My clone of step 6 of the tutorial works fine (http://usw.offthisweek.com/crud006).
[Ed. As of this writing, 06 October, 2011, 9:30 PDT, my debugging statements are present, data retrieval, data augmentation, then successful display.]
Putting the html into WordPress and pointing off to a clone of the tutorial logic, all the initial steps succeed, but after the call to dataTables, the table reports "No data available in table." (http://usw.offthisweek.com/testing-crud/02-tutorial-crud/)
[Ed. As of this writing, I have removed the alerts that show the intermediate steps.]
I have searched both the WordPress.org forums and the dataTables forums, but I have not found anything to help me figure out what difference between the two instantiations is causing the rows to disappear.
Thanks for any suggestions you can offer.
David
ps. I plan to cross-post to WordPress and dataTables.
This discussion has been closed.