EllisLab text mark
Advanced Search
21 of 23
21
   
v 1.3.3 grocery CRUD - an automatic Codeigniter CRUD
Posted: 13 April 2012 08:59 AM   [ Ignore ]   [ # 301 ]   [ Rating: 0 ]
Avatar
Joined: 2010-03-31
205 posts

yeah I did that, it’s not working.  It’s not even inserting the correct jquery file from the theme.  I’m using the flexigrid theme and it’s inserting the datagrid(?) theme’s js.  I have unset_jquery() right after the theme call and it still sends it.

 Signature 

Tell me and I forget. Teach me and I remember. Involve me and I learn. ~ Benjamin Franklin

 
Posted: 14 April 2012 05:30 PM   [ Ignore ]   [ # 302 ]   [ Rating: 0 ]
Avatar
Joined: 2010-12-18
244 posts
Matalina - 13 April 2012 08:59 AM

yeah I did that, it’s not working.  It’s not even inserting the correct jquery file from the theme.  I’m using the flexigrid theme and it’s inserting the datagrid(?) theme’s js.  I have unset_jquery() right after the theme call and it still sends it.

What datagrid? What do you mean? I don’t have any datagrid anywhere. I tested many times and it works. What version of grocery CRUD did you use? Only 1.1.8 version had this bug that the unset_jquery didn’t work correctly.  If yes you can simply see the fix for this at: https://github.com/scoumbourdis/grocery-crud/commit/cef90a2fdd1cd8aa0870209c1726238f599e3289#L1L1365

 Signature 

- grocery CRUD - a codeigniter CRUD library - user guide and download
- Web and Development - personal Blog

 
Posted: 16 April 2012 09:45 AM   [ Ignore ]   [ # 303 ]   [ Rating: 0 ]
Avatar
Joined: 2010-03-31
205 posts

I will have to check my version.  I thought I had the latest.

But this is the code that my js files is outputting:

<script src="http://webdev.babersinc.local/intranet/assets/grocery_crud/themes/datatables/js/jquery-1.6.2.min.js"></script>
<script src="http://webdev.babersinc.local/intranet/assets/grocery_crud/themes/flexigrid/js/cookies.js"></script>
<script src="http://webdev.babersinc.local/intranet/assets/grocery_crud/themes/flexigrid/js/flexigrid.js"></script>
<script src="http://webdev.babersinc.local/intranet/assets/grocery_crud/themes/flexigrid/js/jquery.form.js"></script>
<script src="http://webdev.babersinc.local/intranet/assets/grocery_crud/themes/flexigrid/js/jquery.numeric.js">
</script> 

See the first line.  But as I said I’ll check my version.

*edit*

Alright it was the version.  Now to fix things.  Thanks for the help.

 Signature 

Tell me and I forget. Teach me and I remember. Involve me and I learn. ~ Benjamin Franklin

 
Posted: 17 April 2012 05:05 PM   [ Ignore ]   [ # 304 ]   [ Rating: 0 ]
Avatar
Joined: 2010-12-18
244 posts

Just updated grocery CRUD as for version 1.2.1. This release has mainly bug fixes but also three new functions: unset_add_fields, unset_edit_fields and unset_fields.

 Signature 

- grocery CRUD - a codeigniter CRUD library - user guide and download
- Web and Development - personal Blog

 
Posted: 20 April 2012 01:05 PM   [ Ignore ]   [ # 305 ]   [ Rating: 0 ]
Joined: 2012-04-20
1 posts

First time to codeigniter and this grocery CRUD did save me a lot of time.
Thanks for the great work!

 
Posted: 06 May 2012 05:58 AM   [ Ignore ]   [ # 306 ]   [ Rating: 0 ]
Joined: 2011-04-22
9 posts

web johnny,
thanks for the great plugin..

 
Posted: 06 May 2012 06:02 AM   [ Ignore ]   [ # 307 ]   [ Rating: 0 ]
Joined: 2011-04-22
9 posts

One more modification will be very good if you want to add it.

1. Add/Edit Pages
a. when u click on Save,Update multiple times, multiple ajax request is sent to the server and all the requests are processed.

Problems faced due to this :
1. Add
a. Multiple click on the save button adds multiple data in the database.

Proposed Fix:
On click of the save button -> disable all buttons,
and on success or error -> enable all the buttons.

thanks in advance.

 
Posted: 07 May 2012 07:04 PM   [ Ignore ]   [ # 308 ]   [ Rating: 0 ]
Avatar
Joined: 2010-12-18
244 posts
arif_stalker_majid - 06 May 2012 06:02 AM

One more modification will be very good if you want to add it.

1. Add/Edit Pages
a. when u click on Save,Update multiple times, multiple ajax request is sent to the server and all the requests are processed.

Problems faced due to this :
1. Add
a. Multiple click on the save button adds multiple data in the database.

Proposed Fix:
On click of the save button -> disable all buttons,
and on success or error -> enable all the buttons.

thanks in advance.

I added as a task so I remember it (https://github.com/scoumbourdis/grocery-crud/issues/26)

Thanks to mention it

 Signature 

- grocery CRUD - a codeigniter CRUD library - user guide and download
- Web and Development - personal Blog

 
Posted: 11 May 2012 01:57 PM   [ Ignore ]   [ # 309 ]   [ Rating: 0 ]
Joined: 2011-04-22
9 posts

hello johnny,

i posted a problem regarding the call backs problem when using grocery with HMVC

http://www.grocerycrud.com/forums/topic/426-form-validation-callbacks-not-working-with-hmvc-modular-extention/ 

Call backs are not working properly using the set rules with HMVC modular extention…

kindly check back

thanks

 

 
Posted: 14 May 2012 02:18 AM   [ Ignore ]   [ # 310 ]   [ Rating: 0 ]
Avatar
Joined: 2010-12-18
244 posts

The new version 1.2.2 is now released.

Many major bugs are fixed and 2 brand new features are included to this release:  “save list and go back” button. and “unset_list” method. For more you can see the change logs at: http://www.grocerycrud.com/documentation/change_logs , or visit grocery CRUD facebook page at: http://www.facebook.com/pages/Grocery-CRUD/226957574012339

 Signature 

- grocery CRUD - a codeigniter CRUD library - user guide and download
- Web and Development - personal Blog

 
Posted: 15 May 2012 02:12 AM   [ Ignore ]   [ # 311 ]   [ Rating: 0 ]
Joined: 2011-04-22
9 posts

For those who are having trouble using HMVC with Grocery kindly see this link below.

Mit posted a great fix in the grocery forum.

http://www.grocerycrud.com/forums/topic/426-form-validation-callbacks-not-working-with-hmvc-modular-extention/ 

thanks

 
Posted: 14 June 2012 02:17 PM   [ Ignore ]   [ # 312 ]   [ Rating: 0 ]
Avatar
Joined: 2010-12-18
244 posts

New grocery CRUD version 1.2.3 is now released fully compatible with CI 2.1.1

 Signature 

- grocery CRUD - a codeigniter CRUD library - user guide and download
- Web and Development - personal Blog

 
Posted: 14 June 2012 09:10 PM   [ Ignore ]   [ # 313 ]   [ Rating: 0 ]
Joined: 2012-06-12
1 posts

awesome.  Have not used it yet, will try it today.  Love the design of the grocerycrud page.  Are you a coder with design criteria? scary… lol Great work

 
Posted: 05 July 2012 06:47 AM   [ Ignore ]   [ # 314 ]   [ Rating: 0 ]
Joined: 2012-06-28
4 posts

Hello web-johnny

Great work! I write my thesis and use your library as well. It saves me a lot of time and till now I don’t have big problems with it, but…

project

I have 28 tables which are linked together. I solved most of the special work with callbacks and it works fine.

problem

I have problems with n_n relations. An example:

client
*id
client_nr
...

client_frontuser
*client_id
*frontuser_id

frontuser
*id
username
...

Link frontuser
../index.php/back/frontuser

In the frontuser table I add a column which contains the following link

../index.php/back/clients/index/94

94 is the id from the frontuser. The aim is to show only clients which belongs to this specific frontuser.

I’m not sure if it’s feasible with set_model.

I’m not a native english speaker and perhaps I missed the solution grin

Cheers
Ashirra

 

 

 
Posted: 05 July 2012 08:31 AM   [ Ignore ]   [ # 315 ]   [ Rating: 0 ]
Avatar
Joined: 2011-08-28
136 posts

Hi,@Ashirra
In my case I have article and comment table.
An article can have more than one comment.

This is my code:

public function comment($article_id=NULL){
     $crud 
= new grocery_CRUD();     
     
$crud->set_table('blog_comment');
     if(isset(
$article_id)){
      $crud
->where('blog_comment.article_id'$article_id);
     
}     
     $output 
$crud->render();
     
     
$this->view('grocery_CRUD'$output'blog_comment');
    

The most important thing here is you can use $crud->where(‘your_field’, $value);
it works perfectly….

 Signature 

Homepage : http://www.getnocms.com
Github page : https://github.com/goFrendiAsgard/No-CMS

A free CodeIgniter based CMS-Framework, It is not just another CMS !!!

 
21 of 23
21