Forum Support

Shape 5
March 28, 2024, 04:51:06 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Calendar.js and Calendar-setup.js file conflicts  (Read 742 times)
jvigil48
Jr. Member
**
Offline Offline

Posts: 12



« on: September 06, 2017, 10:34:11 AM »

We are trying to implement a project management using ProjectKnife project management framework and we have been experiencing issues with calendar picker which is integral to ProjectKnife project management framework. Ideally the the calendar picker should present a popup calendar modal window when clicked on the calendar image as shown in the attached Image 1 but nothing happens. Upon investigation, we learned that there was a conflict between calendar.js calls of Corporate Response Template as well as calendar.js calls of ProjectKnife framework. We have used Mootools plugin to suppress/disable the Calendar.js calls. That had fixed the calendar picker issue but broke other functionality such as filters what we have used. I am little skeptical in using Mootools as I am not sure what else gets broken as we start plugging in more functionality. To begin with we have not used calendar picker anywhere in our application until we applied ProjectKnife project management framework. Could you please educate and guide us on how and where the Corporate Response template is making calls to the Calendar.js file?

FYI... Here are the files what we have disabled using Mootools under media/system/js directory.

1. calendar.js
2. calendar-setup.js

Thank you
Jerry
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #1 on: September 07, 2017, 05:47:41 AM »

Hello,

Our templates do not come with any calendar scripts and nothing called calendar.js; there may be a default Joomla script calling this or some calls from the default Jquery library. I believe there is a calendar.js coming from Joomla's media folder, but that is coming from Joomla and not something the template controls. I would not suggest implementing a mootools script on your site, they often conflict with Jquery. Joomla moved to strictly Jquery scripts several years ago to avoid this.
« Last Edit: September 07, 2017, 05:50:03 AM by mikek » Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.