Hi, firstly, great plugin, thanks.
I’m trying to implement the calendar to display bookings only, without giving visitors the option to click and book.
I edited \js\datepick\jquery.datepick.js to remove the onclick/onmouseover/onmouseout attributes, but I then realised the same file is called from admin, and I couldn’t add a booking from admin as a result of editing the file :/
I then thought I would create a duplicate, edited copy of jquery.datepick.js, and call it conditionally using e.g. is_admin(). Is this possible? if so, where is the js file called from when in admin?
I’m proficient enough using php, but js isn’t my strong point, so any pointers would be appreciated.
Thanks in advance.
- The topic ‘[Plugin: Booking Calendar] Conditional datepick.js’ is closed to new replies.