I have since made my own bootstrap based skin for phpvms and since I have done that the accept/rejecting pilots function nolonger works. You can click it however it does nothing. I am not really sure what is causing it however I have refrenced the core_htmlhead.tpl in the header.tpl so all phpvms functions are still included.
Any version of jquery above 1.8.3 breaks the Ajax functions required to run phpvms. So I’d change your jquery version back. this will give you a “jQuery 1.9.1 or higher is required for Bootstrap” however the function will still work.
If they don’t, then you can have your newest version of jQuery placed upin the skin as normal and for the pages such as pilots, schedules and PIREPS,
and at the end of the page do a
jQuery.noconflict(true)
And that should reset the global variable for phpVMS everywhere else but those pages.
Any version of jquery above 1.8.3 breaks the Ajax functions required to run phpvms. So I’d change your jquery version back. this will give you a “jQuery 1.9.1 or higher is required for Bootstrap” however the function will still work.
If they don’t, then you can have your newest version of jQuery placed upin the skin as normal and for the pages such as pilots, schedules and PIREPS,
and at the end of the page do a
jQuery.noconflict(true)
And that should reset the global variable for phpVMS everywhere else but those pages.
Okay, so downgrading jquery 1.8 fixes the issue however bootstrap’s javascript stops working. And requires 1.9. What is the best way to get around this?
You could do 1 of two things which worked for me (I only tried 2 though)
Rewrite all the ajax functions to work with an up-to-date jQuery library
At the start of each page that you need those ajax calls (e.g. pilots, pireps, schedules, etc.) the best way around that is to put this before any of your code at the very top of the page
Remember to keep jQuery 1.8.3 referenced in your core_htmlhead.tpl/.php file
And just FYI, if you’re using bootstrap dropdowns in your core_navigation file then you may find that they don’t work with the fix above, instead what I did was use this (as it only restores $)
Ok, all works however I have an issue where when for example, I go to add an award, it dosent pop up like normal however pops up in the top of the page. If I dont make sense, ill provide a screenshot below.
You may encounter some pages where once you submit the form, it will duplicate at the bottom or top, but it still submits properly.
And also, if the tablesorter grids do not show up or work with the newer version of jquery, you could try going here and updating lib/js/jqgrid/jquery.jqGrid.min.js to the latest version.