I think a print view button would be a nice addition. We use FullCalendar on our company's intranet and the users would like to be able to easily print out the calendar.

CommentFileSizeAuthor
#3 fullcalendar-print.patch1.29 KBaspilicious
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bjlewis2’s picture

I second this. Is there an easy way to do this currently?

aspilicious’s picture

There is a print.css build in the fullcalendar plugin...
But I'm not sure how that helps us.

aspilicious’s picture

Status: Active » Needs review
FileSize
1.29 KB

Ok, first step.

Fullcalendar 1.5 supports a fullcalendar.print.css
This patch adds the css if you have the 1.5 version (or higher) of the plugin.

Tested it with different plugin versions :)

Afterwards we can discus if we need the button in fullcalendar core...

bjlewis2’s picture

Afterwards we can discus if we need the button in fullcalendar core...

Are you implying that there should be a print button? If so, don't see one...

aspilicious’s picture

I quote myself

This patch adds the css if you have the 1.5 version (or higher) of the plugin.

So no button added.

I'll make a patch with a simple button just to test the print css

bjlewis2’s picture

Ok, I get it now... Thanks.

tim.plunkett’s picture

Assigned: Unassigned » tim.plunkett

I have to test this, but it looks pretty sane.

tim.plunkett’s picture

Assigned: tim.plunkett » Unassigned
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

prakashsingh’s picture

After incorporating this patch how would you like to give print command. Do you mean the print option of the browser itself.

May i ask if we can attach it with Print module for having a printer-friendly version of calendar

Regards

KristineC’s picture

Issue summary: View changes

tim.plunkett, thanks for the extra code. This helped get everything from floating during the print!