fullcalendar

events with rrule plugin is not updating after drag/drop on change view grid fullcalendar v4

為{幸葍}努か 提交于 2019-12-23 12:03:41
问题 The bounty expires in 3 days . Answers to this question are eligible for a +50 reputation bounty. Mark Salvania is looking for an answer from a reputable source : “Need the working coding to in jsfiddle/codepen.” I am currently working on Fullcalendar v4 with rrule plugin I have this code var calendarEl = document.getElementById('calendardemo'); var calendar = new FullCalendar.Calendar(calendarEl, { plugins: ['interaction', 'dayGrid', 'timeGrid', 'momentTimezone', 'rrule', 'list'], header: {

fullcalendar cannot read property 'fn' of undefined

房东的猫 提交于 2019-12-23 09:31:19
问题 I embedded fullcalendar.min.js to my project, but I get this error: error log show "Cannot read property 'fn' of undefined" See picture below. I checked this issue, it's suggested to use jQuery 2.0.0+ , and for sure I use jQuery v3.3.1 , but it does not help to solve problem. 回答1: That's because you have to load moment.js before fullcalendar.js! 回答2: The documentation should include a reference to moment.js https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.22.2/moment.min.js then the

Yii2 full calendar event filtering not working

不想你离开。 提交于 2019-12-23 09:08:13
问题 I'm using Philipp Frenzel FullCalendar in Yii2 framework and its working perfectly. I want to implement basic filter events on calendar base on option select but my codes still not working. Help would be highly appreciated. This is inside EventController : <?php namespace app\controllers; use Yii; use app\models\Event; use app\models\EventSearch; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; /** * EventController implements the CRUD actions for Event

How to pass data to angular-strap popover

穿精又带淫゛_ 提交于 2019-12-23 07:48:21
问题 I'm trying to show angular-strap popover when hovering on fullcalendar items. I am using eventMouseover/eventMouseout callbacks to show/hide the popover: $scope.calendarConfig = { defaultView: 'basicWeek', eventMouseover: function(event, jsEvent, view) { element = $(jsEvent.target).closest('.fc-event'); popover = $popover(element, {placement: 'bottom', contentTemplate: 'calendar-item-popover.html'}); popover.$promise.then(popover.show); }, eventMouseout: function() { popover.hide(); popover =

TypeError: 'str' object is not callable (Django/Python)

帅比萌擦擦* 提交于 2019-12-23 04:38:04
问题 I am attempting to build a REST-type JSON API for my app, and while I'm testing it, I keep getting a cryptic error when I hit the URL of my page. URLconf: url(r'^calendar/(?P<id>\d+)/(?P<year>\d+)/(?P<month>\d+)/$', 'calendar_resource'), views.py: def json_view(func): def wrapper(*args, **kwargs): result = func(*args, **kwargs) return HttpResponse(json.dumps(result), mimetype="text/json") return wrapper @json_view def calendar_resource(request, id, month, year): if id != request.user.id:

Apply different timeslots and ranges for each day on Fullcalendar

天大地大妈咪最大 提交于 2019-12-23 04:36:22
问题 I need to disable some timeslots on certain days in fullcalendar.I have already seen this: Disable timeslot ranges in jQuery fullcalendar plugin But apart from the fact that it refers to an older version it doesn't provide a solid solution. I have enabled working hours 9am - 9pm and timeslots every 30 minutes but I need different ranges in Mondays and Wednesdays 9am to 6pm. Also on Saturdays I need 9am to 5pm and default slot duration to 60 minutes. The only solution I have thought so far and

FullCalendar limit amount of selectable time in scheduler

社会主义新天地 提交于 2019-12-23 04:35:48
问题 In my scheduler view, I'm trying to limit the amount of time a user can select to a maximum of 4 hours. I thought that selectConstraint would be the ticket, but don't see a way to apply a max selectable duration. I was hoping for something along the lines of selectConstraint: {duration: '04:00'} or perhaps duration: '240' (in minutes). Or... maybe limit the number of selectable slots?? I have it broken up into 15 minute increments, so is there a way to limit the select to a maximum of 16

How to avoid cumulative layer color in Fullcalendar inverse-background

妖精的绣舞 提交于 2019-12-23 03:31:09
问题 I added different business hours for specific dates and different ressources, but the inverse-background layers are cumulative. The event on the morning have color of afternoon event parameter and reciprocally. I want to have both white events. Example here: http://jsfiddle.net/gwpoofqk/ it's independent of businessHours and ressource parameters. events: [ { start: '2018-05-02 10:00:00', end: '2018-05-02 11:00:00', color: 'blue', rendering: 'inverse-background' }, { start: '2018-05-02 14:00

How to avoid cumulative layer color in Fullcalendar inverse-background

自闭症网瘾萝莉.ら 提交于 2019-12-23 03:30:17
问题 I added different business hours for specific dates and different ressources, but the inverse-background layers are cumulative. The event on the morning have color of afternoon event parameter and reciprocally. I want to have both white events. Example here: http://jsfiddle.net/gwpoofqk/ it's independent of businessHours and ressource parameters. events: [ { start: '2018-05-02 10:00:00', end: '2018-05-02 11:00:00', color: 'blue', rendering: 'inverse-background' }, { start: '2018-05-02 14:00

Dragged external events from div overflow do not appear using FullCalender and FCDraggable

*爱你&永不变心* 提交于 2019-12-23 01:40:11
问题 I am using the FCDraggable version of FullCalendar and everything is working well. However, I would like my external events to be contained in a div with an overflow (ex. JQuery UI Accordian) and dragged onto the calendar. When overflow is on, the external event gets hidden behind the calendar and does not appear until dropped onto the calendar. Without overflow, the external events show fine during the dragging process onto the calendar. Has anyone else encountered this scenario? I know