Closed (cannot reproduce)
Project:
FullCalendar
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Feb 2011 at 09:32 UTC
Updated:
11 May 2012 at 13:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
tim.plunkettThis is due to hardcoding the ID #fullcalendar in fullcalendar.views.js, fullcalendar_handler_empty.inc, and views-view-fullcalendar.tpl.php.
This should use the view-dom-id to distinguish them.
This issue has nothing to do with making fullcalendar look nice in a small block, that can come in a follow-up, if it's even possible.
Comment #2
Michsk commentedThat's also not what this issue post is about, the block case is just an example...
Comment #3
tim.plunkettI know, but it'll freak people out when they try to test any patches, so I wanted to warn everyone. :)
Comment #4
Michsk commentedah lol.
Comment #5
tim.plunkettOkay, so this was a mess.
Basically, all of the CSS ids are now classes, and fullcalendar.views.inc just loops through all the views on the page.
Attached is the actual patch, and one without indentation changes for easier reading.
Comment #6
tim.plunkettOkay, this fixes an issue with colorbox.
Never put debug_backtrace() inside l(), even for debugging. Don't do it.
Comment #7
aspilicious commentedActually with some tweaking you can do some nice things with it.
==> http://awesomescreenshot.com/0b97as65f
Tested colorbox and some other stuff, works great :).
This has to be module of the month with all these improvements.
Comment #8
tim.plunketthttp://drupal.org/cvs?commit=497864
Comment #9
Michsk commentedholy moly, all ready even tested and committed. I surely have never seen such speed. Great. I will give it a run today.
Comment #10
geerlingguy commentedlol - I love how quickly things are done with this module. If only every module's committers were this active!
Comment #11
Michsk commentedah. D7. I will try to port this patch.
Comment #13
aspilicious commentedHere is a patch it doesn't work yet but I think it is caused by some minor errors.
And probably caused by these lines:
And while backporting I couldn't make an array off
So this needs to be looked at to
Comment #14
tim.plunkettClarifying which version
Comment #15
aspilicious commentedAfter reviewing my own patch file I discovered this:
drupal_json_output should be drupal_json so drag and drop is/was broken. But after changing that it still doesn't work. I tried to get my head around it but I failed.
Comment #16
tim.plunkettThe HTML class passed to l() can't be an array in D6, changing that and drupal_json_output to drupal_json worked for me.
Comment #18
drubage commentedWas this fixed in any Drupal 6 versions? We cannot put 2 calendars on the same page we end up with 2 of the same calendar. Any ideas? We have a block view that takes an argument and are using quicktabs with the view/argument.
Comment #19
aspilicious commentedQuicktabs and fullcalendar argument can go wrong. Try with duplication the view without an argument.
Comment #20
Joseph@humber commentedDuplicating the view doesn't work. I was looking at the patch. I'm assuming it's for D7? Right now I can't upgrade unfortunately. Any way to get multiple calendars going in D6?
Comment #21
Joseph@humber commentedComment #22
drubage commentedI made a site with 2 calendars on the same page, 2 view blocks in 2 quicktabs. I had to do some tricks like show both calendars but then hide one once the page had loaded but it can be done.
Comment #23
Joseph@humber commentedAnyone have a solution for D6?
Comment #24
tim.plunkettComment #25
tim.plunkettCan you try this without quicktabs, like a page view and a block view or two block views?
Comment #26
tim.plunkettComment #27
parampadam commentedI try to put multiple instances of Fullcalendars on one page in different ways:
created one view with a page display with several displays: 2blocks and 2 view panes, all without contextual filters (see attachment for the export)
I tried:
i cloned the view an tried the same options with the different views
Module versions i tried:
FullCalendar 7.x-2.0-beta3, and 7.x-2.0-beta3+4-dev (-without the above patch, my newbie mind told me, they are submitted in my versions)
Views 7.x-3.3+103-dev
Panels 7.x-3.2
i hope you got enough informations for some help
thx in advance, parampadam