I am new in codeigniter. I am using grocery crud. I want to change the default theme of grocery crud except "$crud->set_theme('datatables');". by using this it is necessary to change in all functions. but i want to change at only one place.
For changing the default theme of grocery crud go to
application->config->grocery_crud.php
and change the name of theme
$config['grocery_crud_default_theme'] = 'name of your theme';
Note: after initializing the object ie $crud=new grocery_CRUD(); Set your theme below this line as $crud->set_theme('datatables');
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.