hocbui / joomla-gcalendar

Automatically exported from code.google.com/p/joomla-gcalendar
0 stars 0 forks source link

JQuery conflict #181

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. If using the gCalendar it uses JQuery library, if the same page where 
calendar is displayed there is another component or module that uses jquery 
it causes a conflict and both component may not work as expected.

What is the expected output? What do you see instead?
Use existing jquery library or somehow avoid corrupting other compoenents 
usage of jquery.

As workaround you can use the google calendar instead (change menu item 
type to google as oppose to gcalendar).

What version are you using?
GCalendar: 2.1.1
joomla: 1.5.11
php: 5
Browser: Chrome

Original issue reported on code.google.com by charb...@gmail.com on 6 Jul 2009 at 12:53

GoogleCodeExporter commented 9 years ago
with what for a component do you have jquery problems??

Original comment by allon.mo...@gmail.com on 6 Jul 2009 at 2:56

GoogleCodeExporter commented 9 years ago
I have a banner that uses jquery :
<script type="text/javascript" 
src="/plugins/content/jquery-1.3.2.min.js"></script> 
<script type="text/javascript" 
src="/plugins/content/jquery.cycle.all.min.js"></script> 

Followed by:
            jQuery = jQuery.noConflict();
            jQuery(document).ready(function() {

jQuery('#slideshow2493812726').cycle({id:4,width:605,height:217,delay:3000,fx:'f
ade',
pause:1});
            });

This appears on all my pages.

When viewing  gcalendar neither of the components work. The date picker does 
not 
function nor navigation and the banner does not show.

Original comment by charb...@gmail.com on 6 Jul 2009 at 6:55

GoogleCodeExporter commented 9 years ago

Original comment by allon.mo...@gmail.com on 7 Jul 2009 at 9:41

GoogleCodeExporter commented 9 years ago
there is now an option in the menu link configuration to disable loading the 
jquery
library by the gcalendar component.....but if set the parameter to no ensure 
that
jquery is loaded before the gcalendar component's javascript files are loaded!!!

r554

Original comment by allon.mo...@gmail.com on 17 Jul 2009 at 2:21

GoogleCodeExporter commented 9 years ago
will be shipped with release 2.1.2

Original comment by allon.mo...@gmail.com on 25 Jul 2009 at 8:31

GoogleCodeExporter commented 9 years ago
shipped with version 2.1.2

Original comment by allon.mo...@gmail.com on 11 Aug 2009 at 3:29