First things first. Thank you, Rahul, for the work you've done on this.

My wife, who happens to be a first rate programmer, likes to say that if people like your program, they'll ask for change and modifications. So I'm asking . . . :-)

How difficult would it be for you to spin a day and week view as shown on Adam Shaw's full calendar? See here : http://arshaw.com/fullcalendar/

--
Marcel Gagné
Writer and Free Thinker at Large
Note: This massagee wos nat speel or gramer-checkered.

Comments

rahulbile’s picture

Hello Marcel,

Thanks for the feedback.
Regarding the spin it should not be difficult, just add the below patch. it should work, not tested. Will apply as an feature in new release soon.

index cf47435..436b027 100644
--- a/js/civicrm_events.js
+++ b/js/civicrm_events.js
@@ -1,5 +1,5 @@
 jQuery(document).ready(function(){
 var events_data = Drupal.settings.civicrm_events;
 var jsonStr = JSON.stringify(events_data);
-jQuery('#calendar').fullCalendar(events_data);         
+jQuery('#calendar').fullCalendar(header: {left: 'prev,next today',center: 'title',right: 'month,basicWeek,basicDay'},events_data);             
 });

Regards,
Rahul

wftl’s picture

Thanks for getting back to this so quickly, Rahul.

The patch didn't apply so I did it manually. The result was a blank page; sadly I don't actually know why.

Will try again Monday when I have a clear head.

-- Marcel

rahulbile’s picture

Status: Active » Closed (won't fix)

Wont be adding feature in module, suggested the solution. Hence closing.