[英]grocery crud change default theme
I am new in codeigniter. 我是Codeigniter的新手。 I am using grocery crud.
我正在使用杂货杂货。 I want to change the default theme of grocery crud except "$crud->set_theme('datatables');".
我想更改杂货杂货的默认主题,除了“ $ 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(); 注意:初始化对象后,即$ crud = new grocery_CRUD(); Set your theme below this line as $crud->set_theme('datatables');
在此行下方将您的主题设置为$ crud-> set_theme('datatables');
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.