How can I unset the jquery file in grocery crud. I want to use the latest as it has the on function. I don’t want to have to rewrite my code for on set of pages.
This is simple:
$crud->unset_jquery();This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
April 11, 2011 3:24am
Subscribe [77]#301 / Apr 12, 2012 7:24pm
How can I unset the jquery file in grocery crud. I want to use the latest as it has the on function. I don’t want to have to rewrite my code for on set of pages.
This is simple:
$crud->unset_jquery();#302 / Apr 13, 2012 8:59am
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.
#303 / Apr 14, 2012 5:30pm
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
#304 / Apr 16, 2012 9:45am
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.
#305 / Apr 17, 2012 5:05pm
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.
#306 / Apr 20, 2012 1:05pm
First time to codeigniter and this grocery CRUD did save me a lot of time.
Thanks for the great work!
#307 / May 06, 2012 5:58am
web johnny,
thanks for the great plugin..
#308 / May 06, 2012 6:02am
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.
#309 / May 07, 2012 7:04pm
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
#310 / May 11, 2012 1:57pm
hello johnny,
i posted a problem regarding the call backs problem when using grocery with HMVC
<a href="http://www.grocerycrud.com/forums/topic/426-form-validation-callbacks-not-working-with-hmvc-modular-extention/">http://www.grocerycrud.com/forums/topic/426-form-validation-callbacks-not-working-with-hmvc-modular-extention/</a>Call backs are not working properly using the set rules with HMVC modular extention…
kindly check back
thanks
#311 / May 14, 2012 2:18am
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
#312 / May 15, 2012 2:12am
For those who are having trouble using HMVC with Grocery kindly see this link below.
Mit posted a great fix in the grocery forum.
<a href="http://www.grocerycrud.com/forums/topic/426-form-validation-callbacks-not-working-with-hmvc-modular-extention/">http://www.grocerycrud.com/forums/topic/426-form-validation-callbacks-not-working-with-hmvc-modular-extention/</a>thanks
#313 / Jun 14, 2012 2:17pm
New grocery CRUD version 1.2.3 is now released fully compatible with CI 2.1.1
#314 / Jun 14, 2012 9:10pm
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
#315 / Jul 05, 2012 6:47am
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 😊
Cheers
Ashirra