fullcalendar

javascript functions available via javascript_include_tag but not asset pipeline and application.js

让人想犯罪 __ 提交于 2019-12-07 09:04:05
问题 My apologies if this has been posted somewhere else, but I'm not exactly sure how to even phrase a search for this problem. Basically, I've got fullcalendar.js sitting in app/assets/javascripts/ . Within my application.js file (in the same folder of course) I've got the following... //= require jquery //= require jquery_ujs //= require foundation //= require_tree . So, as expected the fullcalender.js gets swept up in the asset compiling process and ends up in the application.js that is then

FullCalendar, how do I change the date format?

 ̄綄美尐妖づ 提交于 2019-12-07 08:18:42
问题 I am trying to make the date format of FullCalendar dd/mm. How can I do this? I found [this][1] method, but I am not really sure how to edit it in my case. I am trying to make it so that in the dayView, the header shows the date in dd/mm format, rather than the current mm/dd American format. Is it possible to do this? 回答1: Check out this link http://arshaw.com/fullcalendar/docs/text/titleFormat/ You can specify which view you want to edit through this (in your case the day view) http://arshaw

Timezone for dropped event in FullCalendar

℡╲_俬逩灬. 提交于 2019-12-07 08:10:53
问题 I'm implementing fullcalendar and struggling with a timezone issue. Here is the code: $('#calendar').fullCalendar({ //re-initialize the calendar header: h, defaultView: 'agendaWeek', // change default view with available options from http://arshaw.com/fullcalendar/docs/views/Available_Views/ slotMinutes: 15, editable: true, lang: 'pl', timezone: 'Europe/Warsaw', droppable: true, // this allows things to be dropped onto the calendar !!! drop: function(date, allDay) { // this function is called

FullCalendar.js - “there was an error while fetching events”

こ雲淡風輕ζ 提交于 2019-12-07 06:27:09
问题 I'm using FullCalendar.js to display Google Calendar events from multiple sources. It's been working OK up until today. For some reason FullCalendar started popping up the "there was an error while fetching events" error message and all the events are obviously gone. Here is a jsfiddle. http://jsfiddle.net/mlk4343/1wko0z1j/1/ $(document).ready(function() { $('#calendar').fullCalendar({ header: { left: 'prev,next today', center: 'title', right: 'month,agendaWeek,agendaDay' }, contentHeight:

How to select multiple date ranges from Fullcalendar?

北战南征 提交于 2019-12-07 02:24:24
问题 I am trying to make a calendar feature in which a user can block off multiple date ranges by just selecting the start and end dates. I was thinking of using FullCalendar but I am not sure how to proceed with this. I did see some examples of how to block some dates from being selected by adding my check on dayClick but these do not deal with date ranges. I would appreciate any help, I am not really looking for an entire source but some suggestions on how to go about this. 回答1: This is a multi

Jquery FullCalendar- Change event color according to even_type in ruby app

倖福魔咒の 提交于 2019-12-07 01:41:29
I'm using Jquery full calendar from http://arshaw.com/fullcalendar in my ruby apps. I wanna show different color for 4 different kind of events like (Holidays, School, Work, Fun) which were saved in my events table as type_of_event Right now I'm fetching events only with start_at and end_at using below code: scope :before, lambda {|end_time| {:conditions => ["ends_at < ?", Event.format_date(end_time)] }} scope :after, lambda {|start_time| {:conditions => ["starts_at > ?", Event.format_date(start_time)] }} # need to override the json view to return what full_calendar is expecting. # http:/

fullCalendar ignoreTimezone doesn't seems to work

烈酒焚心 提交于 2019-12-07 01:41:02
问题 I am using full Calendar and i think i m doing something wrong. As i set the property ignoreTimezone: "true", but it doesn't seems to work, it always displays the time according to +5:30(local Timezone), when i set the time (by converting in to another timezone using PHP), always displays according to +530 allDay: false end: "Thu, 18 Jul 2013 17:00:00 +0100" id: 5 ignoreTimezone: true start: "Thu, 18 Jul 2013 15:00:00 +0100" title: "test 2nd" As here, time shows "15:00:00-17:00:00", but in

Fullcalendar: Bootstrap Modal Box not displaying elements correctly

荒凉一梦 提交于 2019-12-07 00:33:27
A Full calendar Script in one of my project in which i added a Bootstrap modal. I am making it to popup on submit of a Button in my page.But the elements inside the modal are not visible clearly. where am i making the mistake?. I do have a datepicker in my code, but it is also not displayed with proper 'prev','next' buttons. I have added a sample pic too.Kindly help me.. The following is my code:- <div class="modal fade in" id="modal_calendar" tabindex="-1" role="dialog" aria-hidden="false" style="display: block;"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header

How to highlight a day which has an event in FullCalendar.js?

风格不统一 提交于 2019-12-06 23:53:42
问题 I am using FullCalendar.js in my website. I have set events from backend. I want to change look of the day which has an event. In other words I need some sort of class where I have "fc-day" and an event in it. My code looks like and you see it on jsFiddle: $('#calendar').fullCalendar({ events: [{ title: 'event1', start: '2013-01-01' }, { title: 'event2', start: '2013-12-05', end: '2013-12-07' }, { title: 'event3', start: '2013-12-15' }] }) 回答1: I could not find a desired property or method to

How to make a basic FullCalendar custom view

本小妞迷上赌 提交于 2019-12-06 23:41:34
问题 The code below is from FullCalendar's Custom View documentation. It seems like a great start, but it would be very helpful for someone brand new like me to have some basic code that renders the most simple custom view (with some events). They tell you to look at BasicView and AgendaView as a reference, but it's a little beyond my understanding. Are each of the functions required to be overridden in the custom class? This Plunker has a basic FullCalendar and a button to change to a custom view