This repository has been archived by the owner on Mar 26, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
scheduler.txt
64 lines (47 loc) · 2 KB
/
scheduler.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Getting started with Scheduler
The Scheduler add-on provides FullCalendar with functionality for displaying resources.
Some important terminology:
- <b><i>Scheduler</i></b> : the advertised name of the add-on
- <b><i>Resources</i></b> : things that events can be assigned to, like team members or conference rooms
- <b><i>Timeline</i></b> : the name of a premium view that has its time axis running left-to-right.
It is specially suited for displaying a large number of resources.
[full list of settings »](timeline/)
- <b><i>Vertical Resource View</i></b> : when one of the standard
[agenda views](../views/agendaDay/) or [basic views](../views/basicWeek/)
has been told to display resource columns.
[more information »](vertical_resource_view/getting_started)
## Basic Usage
In the HEAD of your HTML, include the necessary FullCalendar *and* Scheduler files:
<link href='fullcalendar.css' rel='stylesheet' />
<link href='scheduler.css' rel='stylesheet' />
<script src='moment.js'></script>
<script src='jquery.js'></script>
<script src='fullcalendar.js'></script>
<script src='scheduler.js'></script>
Then, in your JavaScript, if you'd like to do a **timeline** resource view:
$('#calendar').fullCalendar({
defaultView: 'timelineMonth',
events: [
// events go here
],
resources: [
// resources go here
]
// other options go here...
});
Alternatively, you can display an agenda view with resource columns (a **vertical** resource view):
$('#calendar').fullCalendar({
defaultView: 'agendaDay',
events: [
// events go here
],
resources: [
// resources go here
]
// other options go here...
});
[Learn more about Vertical Resource View »](vertical_resource_view/getting_started)
## More Settings
A full list of Scheduler-related settings can be see on the main docs page on the right hand column
(Timeline View, Vertical Resource View, Resource Data, Resource Rendering, etc).
<a href='.'>Visit the main docs page »</a> <!-- wha? confused urls -->