Reputation: 19
I would like to make my own views on full calendar jquery script. I see those examples: [1] [2] but I cant see where and how is creating the HTML for the view. I search on google, oficial documentation, discussion list but I dont get the answer.
Someone can say me which are more or less the steps to have my own view on full calendar? I would like to have an horizantal list of the week.
[1] http://tux.fi/~jarnok/fullcalendar/demos/resourceView.html
[2] http://www.paulthedutchman.nl/calendar_standalone/
Thanks for all! Regards.
Upvotes: 2
Views: 6003
Reputation: 6357
Here is the extended FullCalendar code that also contains the Resource View:
FullCalendar With Resource View
If you download the code and see there are only 4 files that have minor tweaks.
src/_loader.js
src/defaults.js
src/common/DayEventRenderer.js
src/common/SelectionManager.js
All the major lifting for implementing resource view are in its own folder (src/resource/*).
By studying the above mentioned files you can get an idea how IKE LIN created resource view and how you can create your own view.
I hope this helps.
BTW it's not a simple task. I hope you understand before you start. Good Luck!! :)
Upvotes: 2
Reputation: 1
You simply cannot create a new view by modifying HTML. You will need to have some javascript skills to ensure your view works ok with Fullcalendar. Check out my fork from fullcalendar, nextWeeksView is probably the one you're looking for: http://tux.fi/~jarnok/fullcalendar-resourceviews
Upvotes: 0