tigrang / cakephp-datatable

JQuery DataTable plugin server-side processing component for CakePHP
47 stars 29 forks source link

Problem with admin routing #17

Closed LDSign closed 11 years ago

LDSign commented 11 years ago

Hi

It seems your plugin does not detect actions with admin routing (e.g. it does not find admin-index.ctp).

An other problem Ive is that it does not append the model name in "sAjaxSource".

Could you help?

Thanks a lot, Frank

tigrang commented 11 years ago

The view file name should be admin_index.ctp Try that and let me know if it still doesn't work. As far as the sAjaxSource, it looks like I'm not handling it very well. Temprarily set $js argument for render() to array(sAjaxSource= array()) let me know if it works.

LDSign commented 11 years ago

Hi

Ive tried that already and something like "admin_index.ctp" is completly irgonored.

I will try the other thing, although I am not very happy to modify the plugin code (for future updates).

Greetings, Frank

tigrang commented 11 years ago

What's the complete path to the view file? Make a gist of your controller code, too.