I am using CodeIgniter with GroceryCrud,
when I am tring to do a search the response is mysql error.
the error contains the next message:
Error Number: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL…
I found very nice php api last week, Grocery Crud, from examples available here http://www.grocerycrud.com/examples/the-simplest-example , I could create view and its working fine, my question is there are 2 buttons once you edit Update Changes and…
The function that I need to do deals with DateTime.
public function dtr() {
try {
$crud = new grocery_CRUD();
$crud->set_theme('flexigrid');
$crud->set_table('dtr');
$crud->set_subject('Employee DTR');
…
I have an application where I use Codeigniter + Grocery CRUD.
I was making a "n_n" relation , but in table that store the relation there is a third field.
Bellow my DB structure:
Grocery CRUD allows me to select the socialmedia as displayed…
I'm using Grocery Crud(1.4.1) with CI 2.1.4. The Grocery Crud worked in my local environment and our internal staging server. However, when we deployed the project to the live server, we ran into the performance issue. The pages which contains…
I'm using Codeigniter and Grocery Crud for a project. The crud seems to be working fine but the problem is that when I try to add values, I don't get the success message. Instead I get a textbox like below
I tried reinstalling the crud from scratch…
I follow the guide in Grocery CRUD web documentation, but I can't find if this library suport operations for a multilanguage application.
let's say I have a table articles, where I have a column "lang",
id lang title
1 EN …
Code sample below,
function product($parameter){
$crud = new grocery_CRUD();
...
$crud->callback_add_field('dropdown_field_name',array($this,'_add_field_callback'));
...
$output = $crud->render();
}
Can I do something like this ?…
Is it possible to add a javascript function to the add/edit forms of grocery_CRUD?
E.g. As a user is typing in a particular field when adding or editing a record I want to execute a javascript on the keydown event.
If so, how?
Can I please have a design suggestion for the following problem:
I am using Codeigniter/Grocery_CRUD.
My system is multi tenanted - different autonomous sites - within the same client. I have quite a few instances of tables that have unique logical…
As the title reads, I have been trying to figure out how to be able to use tinymce's "simple" theme instead of the default "advanced". The advanced theme is way more options/buttons then I need. I have tried:
editting : jquery.tine_mce.config.js…
Is there anyone knows how to extend the set_relation() ?
Here is the idea, base on the example of Grocery Crud employee and offices table
$crud->set_relation('officeCode','offices','city');
the code output will show all city in dropdown, but I want…