I modified the add.php in grocery crud and add an iframe that shows the image crud. Now i need to add a conditional statement so that this iframe will show for some specific tables only. I set a flag in the controller for this. And my problem now is…
How to get the current id that had been used when editing and viewing a record?
I am currently following the instruction by Alfonso Secas that he posted in this…
I'm working on a CodeIgniter project that uses grocery-crud.
I'm using this code:
$crud->set_table('dtr');
$crud->set_relation_n_n('branch', 'users_branches', 'branches', 'user_id', 'branch_id', 'name');
In SQL, its equivalent is this:
SELECT…
How to match data in table using mysql AES decrypt in grocery CRUD ?
Error getting on crud set realtion as follows:
$crud->set_relation(AES_DECRYPT(departments.department_id,'key'),'users.department_id','deparmtnet_name');
Not Found:…
Is there a way to adjust the size of gorcery CRUD's list thumbnails?
The way it is now it's just silly big, and breaks the table flow.
If possible, it would be nice to have a PHP solution or grocery CRUD setting for this; if not - a CSS rule would…
I am using codeigniter / grocerycrud, and when selecting a sort column, it remembers this order giving me the only option to re-sort the other direction (at least within the expiration date). I would like to create a button that deletes only the…
I'd like to highlight text in a specific field Estado(state) currently it has 3 states, "activo", "inactivo" and "pendiente" , when it matchs to pendiente i want to highlight the text changing the color to red, but no idea where to do the…
Link to my page where grocery CRUD instance is, for example index.php/users.
When I add a new user, URL of the form is index.php/users/index/add, and I use link from external page, that points directly to http://domain.com/index.php/users/index/add…
I've installed Grocery-Crud and it works! But there is no any css files were loaded on page. I have standard code grocery_crud gives to users, so this is what I see, when I want to see page's code:
I'm triying to implement Grocery-Crud for codeigniter, and I didn't have troubles until i needed to add a link for each row in my table . . . I need to add a column with links to see the details of each row
I have tables like this
user
id ,name
user_email
id ,user_id,email
user may have multiple emails.How can i do CRUD operation of these type of data in codeigniter grocerycrud?I tried this but not working.
I have a controller like this:
function index()
{
$crud = new grocery_CRUD();
$crud->set_relation('name','parttype','type');
$crud->set_table('part');
$crud->set_subject('Items');
$output = $crud->render();
…
I want to add multiple values in where clause.
------------As In Sql , we do like this------------------
SELECT column_name(s)
FROM table_name
WHERE column_name IN (value1,value2,...)
How to use this in grocery crud?
I have the code that adds two custom buttons into grocerycrud:
try{
$crud = new grocery_CRUD();
$crud->set_table('my_table_1')->set_subject('something');
$crud->add_action('food 1',…