Nadeem Ijaz Nadeem Ijaz - 16 days ago 13
PHP Question

grocery crud change default theme

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.

Answer

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';

Comments