Grocery CRUD is a PHP and Codeigniter Framework library that creates a full functional CRUD system without the need to customise JavaScript or CSS.
For more information, visit http://www.grocerycrud.com
Grocery CRUD is a PHP Codeigniter Framework library that creates a full functional CRUD system without the requirement of extra customisation to the JavaScripts or the CSS to do it so.
Home Page: http://www.grocerycrud.com
License: GNU General Public License v3.0
Grocery CRUD is a PHP and Codeigniter Framework library that creates a full functional CRUD system without the need to customise JavaScript or CSS.
For more information, visit http://www.grocerycrud.com
For example if a int 1 takes the value 3 it will throw a notice:
Message:Undefined index: Filename: libraries / grocery_crud.php Line Number: 242 (true_false)
For example csrf_protection = TRUE or $db['default']['dbprefix'] . The reason is that to finally find where is the problem it can take a while as it is not obvious.
Its a great system you have, but theres no system for ordering lists. Lets say I wanted to order a FAQ list. It would be awesome if I could just drag items to their place. Or have a different interface for doing so.
The issue is only with set_relation and set_relation_n_n at the add/insert form.
According to this post http://www.grocerycrud.com/forums/topic/263-just-a-heads-up-for-uploading/page__p__1011 probably is when the max upload file is exceeded
For more see the related post at: http://www.grocerycrud.com/forums/topic/426-form-validation-callbacks-not-working-with-hmvc-modular-extention/
./application/libraries/grocery_crud.php, line 220 says:
$field_info->input = $this->get_readonly_input($field_info,$value);;
(It ends with two semicolons.)
For more read this post: http://www.grocerycrud.com/forums/topic/450-unset-fields-after-fields/
This function has been DEPRECATED as of PHP 5.3.0. and also there is no need to use it for the functions get_list and get_relation_array at the grocery_Model
I love you for making this, but adding a new field type (for example I want to be able to upload & crop easily in the crud interface) but it is really hard.
It's not really as easy as adding something to a swith case.
For more you can see this post: http://www.grocerycrud.com/forums/topic/513-changing-paging-options-datatables-theme/
in dutch the grammar is:
"x add" -> "x toevoegen"
which is different to english. I would suggest using a printf to use the difference. Ill fork it.
For more just see the topic: http://www.grocerycrud.com/forums/topic/246-problem-where-there-is-more-than-one-textarea-on-firefox/
You can find a work around for this at: http://www.grocerycrud.com/forums/topic/254-set-relation-breaks-processing-of-field-with-same-name-returned/page__p__982#entry982
Example: replace all the 'assets/grocery_crud/js' with $this->default_javascript_path
For example: jquery-1.7.1.js?122
It's nothing major, I just noticed that "message_promt_delete_file" in all the language files dropped the second 'p' in 'prompt'.
Dear Scoumbourdis, I have found a solution for flexigrid width
at "assets / grocery_crud / themes / flexigrid / views / list.php" line 7, I change width of table to be 100%.
hope it helps, thank you for your good job...
For more you can see: http://www.grocerycrud.com/forums/topic/362-pressing-enter-clears-date-field/
Not all the callbacks return $this to the function.
For more you can read this forum post
http://www.grocerycrud.com/forums/topic/26-default-field-values/
founded by rafael84
As Kenta Saito mentioned and solved at: http://www.grocerycrud.com/forums/topic/229-flexigrids-search-string-get-garbled-with-multibyte-string/
please add the documentation to the repository instead of the online docs
If you have insert twice the same middle table name at two set_relation_n_n it doesn't save the form data.
This is a really rare scenario and it is probably a wrong database structure , but it is still an issue...
For example:
$crud->set_relation_n_n('strutture', 'relazioni', 'strutture', 'idMultimedia', 'idStruttura', 'ramo');
$crud->set_relation_n_n('contenuti', 'relazioni', 'contenuti', 'idMultimedia', 'idContenuto', 'titolo','posizione');
The middle table ( "relazioni") is added twice.
For example: $crud->change_field_type('jobTitle','enum', array('test','test1','test2'));
$crud->change_field_type('jobTitle','set', array('test','test1','test2'));
Multiselect has some problems according to this post: http://www.grocerycrud.com/forums/topic/514-multi-select-autocomplete-does-not-work-in-ie7/
Hi John,
First of all let me thank you or this great library.
Well, if you have in 2 different controllers the same method, the unique_hash will be the same and that will mess up the grid when it is loaded via ajax. For example i have 2 controllers products and orders, in both controllers i have a method called 'manage', in that method im using grocery_crud if i got to products/manage and i use the filter , cookies including my search params will be saved , if i go to orders/manage and use the filter there, the old cookies will be used and it shouldn't.
I solved this issue with adding the class name to the method name and hash it
protected function get_method_hash() {
$ci = &get_instance();
return md5($ci->router->class.'/'.$ci->router->method);
}
Example:
$crud->set_relation_n_n('category', 'film_category', 'category', 'film_id', 'category_id', 'name');
$crud->required_fields(['category']);
Expected behaviour:
Actual Results:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.