Version 0.16.0 of cal has a build-in way to create a small month view right away.
All you have to do is:
- Insert the plugin where you want the small month to appear.
- Define the startingpoint - page/sysfolder containing your events.
- Point to the other views, else they won't get linked inside this small month.
- Select "Make it a mini calendar" in the month tab of the plugin flexform.
- Don't forget to include the static files from extension in your template, if you haven't done it already ;)
See the result below:
| July | |||||||
|---|---|---|---|---|---|---|---|
| Mo | Tu | We | Th | Fr | Sa | Su | |
| 26 | 28 | 29 | 30 | 1 | 2 | 3 | 4 |
| 27 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 28 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 29 | 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 30 | 26 | 27 | 28 | 29 | 30 | 31 | 1 |