I've been looking through feature requests and bugs and cannot find any references to panes/panels, so I'm not sure if this should be a feature request.

I need calendars to be added into a panel. When working with a view pane the fullcalendar formats are still visible, so I can only expect that it should work. When I select them and add the pane to a panel, a list of dates are displayed, but no calendar appears. When adding a fullcalendar view, with the same information (excluding Contextual Filter of NID), the calendar is working correctly on the URL added.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

amysteen’s picture

Hi floleft! This may not be super helpful, but I was able to get fullcalendar to work fine in view panes on a panel with hardly any configuration. Perhaps you need to install newer versions of some modules?

I am using:
Date 7.x-2.x-dev
Colorbox 7.x-1.x-dev
Panels 7.x-3.0-alpha3
Views 7.x-3.x-dev
Chaos Tools 7.x-1.x-dev

Im using contextual filters for gid (Group ID, organic groups)

Good luck!

floleft’s picture

I have all up-to-date modules and the classes seem to be correct on the panel page. When I use the view preview for the pane, it's showing the correct information. The dates just aren't converting to the calendar still on the panel page. No javascript errors showing in the inspector either.

Debugging this more now, but I'm at a loss right now.

tim.plunkett’s picture

Status: Active » Postponed (maintainer needs more info)

Can you post an export of your panel and view? Preferably with http://pastebin.com, not directly in the queue.
I just made a view, added a content pane display. Then made a panel page, added the fullcalendar pane, and it worked fine.

floleft’s picture

Status: Postponed (maintainer needs more info) » Active
floleft’s picture

I was checking back up on this issue and noticed that you originally asked for the panel export as well, here is the panel:

http://pastebin.com/Bv1zwUTU

floleft’s picture

I'm not sure if this is related, or needs to be a separate issue, but I cannot get the "No Results Behavior" to show text when there are no results. Once this issue is resolved, and if this still happens, i'll make a new bug post.

aspilicious’s picture

that one is a known issue when, happened after viewes inserted their new UI. Timplunkett will try to fix this when he has some time.

tim.plunkett’s picture

Re: #6, I fixed this and committed it over here: #1003602-14: Rename views plugins and reorganize files.

tim.plunkett’s picture

Title: No Calendar in Panes » FullCalendar with Panels
Status: Active » Postponed (maintainer needs more info)

I'm going to mark this back to postponed, I need a second opinion here. Has anyone else had trouble with this?

@floleft, if you're ever on IRC, ping me in #drupal, timplunkett is my nick. Maybe we can work it out in realtime.

sylvaincharles’s picture

Hi,
I've got the same problem.
And after lots of clicks and chance I discovered that the calendar appears when I add the content pane twice in a panel.

Exemple :
I've got a view with a content pane displaying a full calendar.
When I add this pane onto a panel, a list of selected events (by node_reference id) appears instead of the beautiful calendar I desire so much.
I also tried with block and fullcalendar instead of content pane : same result.

When I display twice the content pane (or block) in the panel : the first element displays as a calendar and the second as a list (See attached screen copy).

Hope someone will have a look into that strange behavior

PS : date formats are from-to in my case

sylvaincharles’s picture

Status: Postponed (maintainer needs more info) » Active

If anyone has to deal with the same problem there is one simple solution :
- delete your panel
- rebuild it

and the calendar should display as desired
Hope it will help someone

Good luck if someone wants to find out where is the weird behavior from.

tim.plunkett’s picture

Status: Active » Fixed

I'm guessing it's related to views created before the Views beta. If anyone can reproduce this with a new view/panel, reopen.

floleft’s picture

I'm just getting back to this today and tried #11 @sylvaincharles. That actually worked. Deleting the panel and recreating it from scratch did work. I guess I'll add that to my list to do in the future testing of other modules with panels.

floleft’s picture

I spoke too soon. It looks like when adding any additional view panes to the panel removes the calendar again. If the calendar is the only view pane on the page it works. Custom panes, misc panes etc. are working on the same panel.

floleft’s picture

If the calendar pane is the 1st pane to load on the page of other view panes, the calendar shows. If it is not first, the list shows instead of the calendar.

floleft’s picture

Another issue with panels: When setting the "Use custom title" option in the fields options, that title is forced to be the panel title. This happens even when the option "Title override" in the "Allow Settings" isn't checked.

tim.plunkett’s picture

Status: Fixed » Active

#15 is a fullcalendar bug I guess?
#16 doesn't sounds like it's related at all.

floleft’s picture

I'm not totally sure about #16, thats why I didn't want to post another issue just yet.

floleft’s picture

I added a calendar to another panel and this is what I've found out. The calendar is only rendering when it's the first view pane in the left column. I'm using the "Two column stacked" in this panel (the one with the area that extends across the left and right columns at the top and bottom) and the calendar doesn't render in the top section. It only renders when it's the first view pane in the left column.

tim.plunkett’s picture

Status: Active » Closed (duplicate)

Finally replicated this, but it's a dupe of #1081488: Javascript error when using block or view with other view/block on the same page. See you over there!

floleft’s picture

The patch on #12 of post http://drupal.org/node/1081488 solved this issue. I've moved the calendar around the panel and it's rendering correctly now. Thank you!