⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Jquery scripts



Nico

Nico
  • profile picture
  • Member

Posted 20 August 2012 - 18:12 PM

Hi,

I have a menu in my website that uses JQuery. So, I include jquery(jquery-1.8.0.js and jquery-ui-1.8.23.custom.min.js) files in my headers.

In the pages that use GroceryCrud, my files create a conflict with the JQuery scripts from the file upload system from the CRUD and get scripts errors ($(this).fileupload is not a function) and with all that, the ajax system for the file uploading doesn't work anymore...

If I remove my files from the header, everything works on the crud add/edit interface but not in the display interface or anywhere else on the website....

Does anyone has an idea how to fix it??

noskov.biz

noskov.biz
  • profile picture
  • Member

Posted 20 August 2012 - 19:31 PM

Hi, Nico, try at your function

$crud->unset_jquery();


As I know grocery CRUD works great with jquery v1.7.1 and jquery-ui v1.8.10. But there are some conflicts with the higher versions. So if you will change jquery library try to use that versions, but not the new one v1.8.0

Nico

Nico
  • profile picture
  • Member

Posted 22 August 2012 - 21:40 PM

Great!!!

Thank you!