fullcalendar

contextMenu breaking FullCalendar event dragging

老子叫甜甜 提交于 2019-12-02 01:44:37
So I recently added a context menu to the events in my FullCalendar using jQuery contextMenu (http://abeautifulsite.net/blog/2008/09/jquery-context-menu-plugin/). It works beautifully, except that my dragging/dropping ability stopped working properly, when you drag an event and let go over another date the event date isn't changed, and it redirects to the event's url. I did some checking, and realized that eventDrop, eventDragStart, and eventClick all aren't being fired. If I comment out the context menu everything works fine. If anyone can figure out why contextMenu is preventing the

jQuery FullCalendar timezone synchronization

爷,独闯天下 提交于 2019-12-02 00:09:06
I am using the jQuery Fullcalendar plugin (http://arshaw.com/fullcalendar). I am only using it for "full day" events. When the user creates an event, I store it in my database via PHP as a date (2012-01-12). When sending the list of events to FullCalendar via AJAX, I convert the date to Unix time. The problem I am foreseeing, is the case where say the server is in the US with a US timezone, and the client is in Europe. The server sends an event for 2012-01-12 00:00:00 (US Time), which gets converted to a Unix time. Then the client may see an event that is at 2012-01-12 08:00:00 (8 hours later)

fullCalendar events not showing even though correct JSON feed

为君一笑 提交于 2019-12-01 22:58:05
As a bunch of others I have a problem getting my JSON feed events to render in the calendar. The problem is often wrong JSON formating, but this is not the case since I've validated it with JSONlint and hardcoded the JSON feed in Site.Master with positive result. FireBug is getting the JSON response correctly but it is still not showing up in fullCalendar. I'm out of ideas. The FireBug response: [{"id":1,"title":"TESTTITLE","info":"INFOINFOINFO","start":"2012-08-20T12:00:00","end":"2012-08-20T12:00:00","user":1}] JSON.aspx public partial class JSON : System.Web.UI.Page { protected void Page

How to Customize Data FullcalendarBundle from a SUBMIT form

我是研究僧i 提交于 2019-12-01 22:50:23
问题 i have added a select form above the FullCalendar to select an user and show his events the question is how to load the events of the user selected in the calendar THIS is some of code: In Calender.html.twig {% block javascripts %} {{ parent() }} <script type="text/javascript"> $(function () { $('#calendar-holder').fullCalendar({ height: 'parent', themeSystem: 'bootstrap4', locale: 'fr', header: { left: 'prev, next, today', center: 'title', right: 'month, agendaWeek, agendaDay' },

No Callback after SQLite-Request

随声附和 提交于 2019-12-01 22:46:13
awesome plugin. But I tried to load some events via SQL-Rquest. The Request is successfully, I can put the Array in another Container or alert them, but the Calendar wouldnt load the events. Here my Script $('#calendar').fullCalendar( { header: { left: 'prev,next today', center: 'title', right: 'month,agendaWeek,agendaDay' }, editable: true, events: function(start, end, callback) { var rs = db.execute("select * from xCal"); var i = 0; var events = '['; while(rs.isValidRow()) { if(i == 0){var events=events}else{events = events+','} events=events+ "{id:'"+rs.fieldByName('id')+"',"+ "title:'"+rs

How to Customize Data FullcalendarBundle from a SUBMIT form

最后都变了- 提交于 2019-12-01 22:40:20
i have added a select form above the FullCalendar to select an user and show his events the question is how to load the events of the user selected in the calendar THIS is some of code: In Calender.html.twig {% block javascripts %} {{ parent() }} <script type="text/javascript"> $(function () { $('#calendar-holder').fullCalendar({ height: 'parent', themeSystem: 'bootstrap4', locale: 'fr', header: { left: 'prev, next, today', center: 'title', right: 'month, agendaWeek, agendaDay' }, businessHours: { start: '09:00', end: '18:00', dow: [1, 2, 3, 4, 5] }, height: "auto", contentHeight: "auto",

fullcalendar: is there a way to call dayRender only after i load my events via events function

好久不见. 提交于 2019-12-01 22:12:48
i'm using fullcalendar in a web application i"m building. i load my events with events function and ajax. here is my code: var ajaxData; var eventsJsonArray; var json_backgrundColor; var json_iconstring; //alert('Hello! 1!'); $(document).ready(function () { $('#calendar').fullCalendar({ header: { left: 'prev', center: 'title', right: 'next,month,agendaWeek,agendaDay' }, //custom events function to be called every time the view changes events: function (start, end, timezone, callback) { var mStart = start.format('M') var yStart = start.format('YYYY') $.ajax({ url: '$getMonthDataUrl', type: 'GET

JQuery:FullCalendar Plugin: Events are not shown in week view and day view but are shown in month view

偶尔善良 提交于 2019-12-01 21:04:16
I've the following code to fetch events: $('#calendar').fullCalendar({ theme: true, slotMinutes: 10, header: { left: 'prev,next today', center: 'title', right: 'month,agendaWeek,agendaDay', }, defaultView: 'agendaDay', allDaySlot: false, editable: false, events: "/cgi-bin/shlk/getshlkruns.pl" }); The output from getshlkruns.pl is fairly simple json feed: [{'title': 'Successful','start': 1266398223,'end': 1266398266,'url': '/shlk/cgi-bin/getshlkrunlog.pl?i=21'}] There are several events like above (i've removed for brevity sake). So the above events show up when am in the month view but

webservice - unknown web method parameter name methodname

萝らか妹 提交于 2019-12-01 19:28:00
I called a webservice for fetching items in fullcalendar. The method is never called and firebug gives this error: * "POST [http]://localhost:50536/FullCalendar/ServicioFullCalendar.asmx/GetEventosCalendario POST [http]://localhost:50536/FullCalendar/ServicioFullCalendar.asmx/GetEventosCalendario 500 Internal Server Error 1.01s" "unknown web method parameter name methodname"* Here is the asmx.vb code: <System.Web.Script.Services.ScriptService()> _ <System.Web.Services.WebService(Namespace:="http://localhost/uva/")> _ <System.Web.Services.WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1

Problem removing event sources from FullCalendar (jQuery)

青春壹個敷衍的年華 提交于 2019-12-01 17:56:01
Right then, I'm using FullCalendar to display events from multiple sources, some local JSON feeds, others from Google Calendar. I've implemented a feature whereby a single calendar can be displayed / hidden when it's checkbox is true or false respectively. I'm using this code to achive it: $('#calendar_list input','#sidebar').live('click', function() { if($(this).is(":checked")==true) { // display the calendar var source = $.fullCalendar.gcalFeed("http://www.google.com/calendar/feeds/usa__en%40holiday.calendar.google.com/public/basic"); $('#calendar').fullCalendar('addEventSource', source); }