10990 Posts in 2727 Topics by 1818 members
|Go to End|
14 January 2010 at 9:09pm
I have both the ImageGallery and EventCalendar modules installed. For my site, I placed the calendar on the sidebar so it is displayed on all the pages. When I visit my image gallery page, the calendar doesn't load or isn't shown.
Can anyone help me? Thanks!
15 January 2010 at 3:53am
Shouldn't be a conflict.. They're both jQuery apps and they're both wrapped in closures. I'll get a test set up, and in the meantime, check Firebug for any JS errors and post them here.
15 January 2010 at 2:37pm
I have it set-up here already: http://ahonfoundation.com/beta/
When I go to the main page of the image gallery (http://ahonfoundation.com/beta/our-libraries/), the calendar is still working.
But when I view a specific album (http://ahonfoundation.com/beta/our-libraries/album/trippin), the calendar doesn't load.
Hope those links help. Thanks!
15 January 2010 at 4:05pm
The problem is that there are concurrent instances of jQuery being loaded. EventCalendar is using its own, while ImageGallery is using the jsparty source. I have updated the repository with the changes that should resolve your problem.
CalendarEvent, line 66
CalendarWidget.ss, line 1
15 January 2010 at 4:40pm
Thanks for all the help UncleCheese
15 January 2010 at 6:16pm
No, don't remove any lines. Just change them, as specified in CalendarEvent.php and CalendarWidget.ss. I've checked the changes into SVN, so if you just run an update you should be fine.
20 January 2010 at 3:03pm
Thanks UncleCheese! I just finished it.
By the way, you did the image gallery module right? Is album pagination ready?
And, if it wouldn't be such of a bother, I also need some help with this thread: http://silverstripe.org/all-other-modules/show/276837?showPost=277221
If you have the time, I was hoping you could help me there as well.
Thanks so much!
|Go to Top|