The example page for Editor PHP is not working :
Hi @perrotin ,
Thanks for point that out - we're taking a nose at it now.
Delete and Edit work fine, however New does not:
results in no changes in the table and result:
Thanks @wiredduns , we weren't aware of that. I've raised it internally (DD-1214 for my reference) and we'll report back here when there's an update.
So the issue is that I've got a condition on the VIEW to show of that the VIEW doesn't need to be a simple SELECT. But I hadn't set the value in the controller that allowed the new record to match that condition.
In PHP the fix is to add:
Field::inst( 'site' )
->setValue(4) // New York, for the VIEW condition
to the Editor PHP instance (in the controller).
Committed now and will be included in the next update.
It looks like you're new here. If you want to get involved, click one of these buttons!
DataTables designed and created by SpryMedia Ltd.
SpryMedia Ltd is registered in Scotland, company no. SC456502.