CKEditor and custom Minimal theme
CKEditor loading and custom field types
HIDE CODE
SHOW CODE
<?php
Xcrud_config::$editor_url = dirname($_SERVER["SCRIPT_NAME"]).'/../editors/ckeditor/ckeditor.js'; // can be set in config
$xcrud = Xcrud::get_instance();
$xcrud->table('orders');
$xcrud->change_type('status','select','','On Hold,In Process,Resolved,Shipped,Disputed,Cancelled');
$xcrud->change_type('orderDate','none');
echo $xcrud->render();
?>
Orders
Orders
# | Orderdate | Requireddate | Shippeddate | Status | Comments | Customernumber | |
1 | 2003-01-08 00:00:00 | 07.02.2003 00:00:20 | 19.02.2003 08:00:00 | Shipped | Hi | 141 | |
2 | 2003-02-17 00:00:00 | 24.02.2003 00:00:00 | 21.02.2003 00:00:00 | Resolved | Great Item | 278 | |
3 | 2003-02-24 00:00:00 | 03.03.2003 00:00:00 | 26.02.2003 00:00:00 | Shipped | Difficult to negotiate with customer. We need
| 1316666 | |
4 | 2003-03-03 00:00:00 | 12.03.2003 00:00:00 | 08.03.2003 00:00:00 | Shipped | | 385 | |
5 | 2003-03-10 00:00:00 | 19.03.2003 00:00:00 | 11.03.2003 00:00:00 | Shipped | Customer requested that FedEx Ground is used for
| 486 | |
6 | 2003-03-18 00:00:00 | 24.03.2003 00:00:00 | 21.03.2003 00:00:00 | Shipped | | 187 | |
7 | 2003-03-25 00:00:00 | 31.03.2003 00:00:00 | 30.03.2003 00:00:00 | Shipped | | 129 | |
8 | 2003-03-24 00:00:00 | 03.04.2003 00:00:00 | 29.03.2003 00:00:00 | Shipped | Customer requested that ad materials (such as
| 144 | |
9 | 2003-03-26 00:00:00 | 02.04.2003 00:00:00 | 27.03.2003 00:00:00 | Shipped | | 124 | |
10 | 2003-04-01 00:00:00 | 24.04.2003 00:00:00 | 02.04.2003 00:00:00 | Shipped | | 172 | |