Difference between #141 and #142 of
Yii v2 snippet guide

Revision #142 has been created by rackycz on Oct 6, 2019, 5:50:25 PM with the memo:

calendar
« previous (#141) next (#143) »

Changes

Title unchanged

Yii v2 snippet guide

Category unchanged

Tutorials

Yii version unchanged

2.0

Tags unchanged

tutorial,beginner,yii2

Content changed

[...]
I needed to show user a list of his events in a large calendar so I used library [fullcalendar](https://fullcalendar.io/).

Great demo which you can just copy and paste:
- https://fullcalendar.io/js/fullcalendar-3.0.0/demos/list-views.html
- ... just "view source" of the web and copy the js + html code, css and js files.

 
 
```css
 
/*I added this style to hide vertical scroll-bars*/
 
.fc-scroller.fc-day-grid-container{
 
  overflow: hidden !important;
 
}
 
```
 
Don't forget to use these files for example in your view like this:

```php
$this->registerCssFile('@web/css/fullcalendar/fullcalendar.css');
$this->registerCssFile('@web/css/fullcalendar/fullcalendar.print.css', ['media' => 'print']);
[...]
7 0
4 followers
Viewed: 259 088 times
Version: 2.0
Category: Tutorials
Written by: rackycz
Last updated by: rackycz
Created on: Sep 19, 2019
Last updated: 7 months ago
Update Article

Revisions

View all history