Questions tagged [grocery-crud]

Grocery CRUD is an open-source CRUD implementation for the CodeIgniter PHP framework.

Grocery CRUD is an open-source CRUD implementation for the CodeIgniter PHP framework.

Website

http://www.grocerycrud.com/

Function Documentation

http://www.grocerycrud.com/documentation

Usage Examples

Other examples

356 questions
0
votes
2 answers

insert data in corresponding tables from multistep form

I have a multistep form which is called "card" This form must contain sevral information of a person, what person has done, the job of person, tools person used etc. To solve this and make it more cool I made a multiform step form, so when user…
edgarmtze
  • 24,683
  • 80
  • 235
  • 386
0
votes
2 answers

crud codeigniter default value

Hi all I have a site develop in codeigniter with crud. Into my insert view I have a select where I want to put in default a value, I have done int his mode (the name of the filed is id_company) $crud = new grocery_CRUD(); $state_crud =…
Alessandro Minoccheri
  • 35,521
  • 22
  • 122
  • 171
0
votes
0 answers

Has anyone used Grocery CRUD and jQuery File Upload script?

I desperately need to make the Grocery CRUD (Codeigniter) to be able to use multiple image upload with thumbnail preview for the uploaded images. jQuery File Upload is what I need, but I really don't know how to integrate it or use it together with…
MarkC
  • 179
  • 1
  • 4
  • 13
0
votes
1 answer

grocery Codeigniter loading view with template

i have recently downloaded grocery from their site and i am having a small problem in loading views with a template .. as in controller the function of loading view look like this function _example_output($output = null) { …
mynameisjohn
  • 403
  • 2
  • 4
  • 12
0
votes
2 answers

How to embed grocery crud inside another view?

I have a CI view which uses jquery tab to show some content. One of the tabs loads another controller which uses grocery crud. So the initial display is embeded inside this view. However if I try to edit or update it opens it in a completely…
la6470
  • 29
  • 2
  • 6
0
votes
1 answer

Clear Doctrine's Cache of Entity Classes?

Originally I had my entity classes (PHP with annotations for Doctrine) in the models folder of my CodeIgniter setup. I decided this wasn't such a great idea so I moved all of my entities into an "Entities" folder and updated my Doctrine.php file…
celestialorb
  • 1,901
  • 7
  • 29
  • 50
0
votes
1 answer

codeigniter & grocery crud installation

i'm having problem with codeigniter + grocery crud installation. Below is my file structure: base/ci_213/application/demo/config/config.php $config['base_url'] = 'http://localhost/'; $config['index_page'] =…
user1884324
  • 693
  • 5
  • 14
  • 21
0
votes
3 answers

Default value of Grocery CRUD date input?

i follow the guide in Grocery CRUD web documentation http://www.grocerycrud.com/examples/callback_edit_field_example i guess this is one of the ways to set default value for your input field when insert. I am trying to set the default value for date…
Bravo Net
  • 805
  • 5
  • 17
  • 30
0
votes
1 answer

GroceryCRUD - ordering the fields list (not ordering the actual data, just the order of the fields)

In GroceryCRUD i am getting the data from a table with these fields (as they appear in order in MYSQL) id, date_added, views, outhits, clicks, title, description and i want title + description to be at the top of the form when entering new rows or…
user1190646
0
votes
1 answer

GroceryCRUD - how to set variables in a callback? (I upload a file, want to resize it 3 times and put all 3 in the db - how do i save that data)?

I am using codeigniter + grocerycrud. I have a callback for image uploads. I upload one image in the form, but want to do this: copy it 3 times resize each one a certain size then save each one in the database. any ideas how to do this? The callback…
user1190646
0
votes
1 answer

Grocery CRUD multiple upload field

I am working on the admin section of a website in codeigniter. I am using Grocery CRUD for the add edit delete operations. I've used 'set_field_upload' function to provide a video upload field inside the form. I need to add a thumbnail for the…
i_nomad
  • 795
  • 2
  • 7
  • 9
0
votes
2 answers

Grocery crud in windows hosting

I have setup Codeigniter on my server and I installed Grocery crud on it. Unfortunately server is windows based and does not support url rewriting and I am stuck using Grocery crud with it. Can someone explain the solution to this, as I searched…
0
votes
3 answers

GroceryCrud Table Relationships set_model (join tables) [EDITED]

I have two tables like this: CREATE TABLE `tblFacilityHrs` ( `id` int(11) NOT NULL AUTO_INCREMENT, `uid` varchar(45) DEFAULT NULL, `title` varchar(100) DEFAULT NULL, `description` text, PRIMARY KEY…
에이바바
  • 1,011
  • 11
  • 36
  • 60
0
votes
1 answer

grocery crud upload field "unclickable" in iphone browser

So I have made a simple site for a friend using codeigniter and grocery crud v1.2, it works well for uploads in all browsers except when I try it on a iphone. For some reason the "choose file" button appears but seems unclickable on the iphone…
CI_Guy
  • 1,039
  • 2
  • 22
  • 39
-1
votes
1 answer

GroceryCRUD hide soft deleted records

By overriding the delete function of GroceryCRUD as below, we can easily soft-delete a record. public function user() { $crud = new grocery_CRUD(); $crud->set_table('cms_user'); $crud->set_subject('User List'); …
mlwn
  • 1,156
  • 1
  • 10
  • 25
1 2 3
23
24