Custom design for grocery crud |
I have used grocery crud to generate crud in my project. I have number of crud in my project and for each crud I have different design. Is there any way to achieve different designs for each crud forms. If so please do provide with the steps.
In /assets/grocery_crud/themes/ you can find available themes. You should find there datatables and flexigrid. You can create your own by modifying them. To choose own visual, use set_theme function in your controller.
PHP Code: $crud = new Grocery_CRUD(); (09-22-2015, 02:20 AM)Muzikant Wrote: In /assets/grocery_crud/themes/ you can find available themes. You should find there datatables and flexigrid. You can create your own by modifying them. To choose own visual, use set_theme function in your controller. The above method only changes the theme. But I need to have different design for each crud. If I had 30 crud I may need to have 30 themes. I need to change the html of each form.
Maybe I do not understand, what do you mean by desing. :-(
PHP Code: <?php defined('BASEPATH') OR exit('No direct script access allowed'); Read the GroceryCrud documentation, especially API and Functions list. |
Welcome Guest, Not a member yet? Register Sign In |