CKEditor and custom Bootstrap theme
CKEditor loading and custom field types
HIDE 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
# | Orderdate | Requireddate | Shippeddate | Status | Action | Comments | Customernumber | |
---|---|---|---|---|---|---|---|---|
1 | 2024-11-21 00:00:00 | 22.11.2024 00:00:00 | Shipped | 0 | 129 | View Edit Remove | ||
2 | 2003-03-24 00:00:00 | 03.04.2003 00:00:00 | 29.03.2003 00:00:00 | Shipped | 0 | Customer requested that ad materials (such as | 144 | View Edit Remove |
3 | 2003-03-26 00:00:00 | 02.04.2003 00:00:00 | 27.03.2003 00:00:00 | Shipped | 0 | 124 | View Edit Remove | |
4 | 2003-04-04 00:00:00 | 12.04.2003 00:00:00 | 07.04.2003 00:00:00 | Shipped | 0 | 424 | View Edit Remove | |
5 | 2003-04-11 00:00:00 | 19.04.2003 00:00:00 | 13.04.2003 00:00:00 | Shipped | 0 | 381 | View Edit Remove | |
6 | 2003-04-16 00:00:00 | 24.04.2003 00:00:00 | 17.04.2003 00:00:00 | Shipped | 0 | 148 | View Edit Remove | |
7 | 2003-04-21 00:00:00 | 29.04.2003 00:00:00 | 26.04.2003 00:00:00 | Shipped | 0 | Customer has worked with some of our vendors in | 216 | View Edit Remove |
8 | 2003-04-28 00:00:00 | 05.05.2003 00:00:00 | 02.05.2003 00:00:00 | Shipped | 0 | 382 | View Edit Remove | |
9 | 2003-04-29 00:00:00 | 08.05.2003 00:00:00 | 01.05.2003 00:00:00 | Shipped | 0 | 114 | View Edit Remove | |
10 | 2003-05-07 00:00:00 | 13.05.2003 00:00:00 | 13.05.2003 00:00:00 | Shipped | 0 | 353 | View Edit Remove |