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:
| February | |||||||
|---|---|---|---|---|---|---|---|
| Mo | Tu | We | Th | Fr | Sa | Su | |
| 5 | 30 | 31 | 01 | 02 | 03 | 04 | 05 |
| 6 | 06 | 07 | 08 | 09 | 10 | 11 | 12 |
| 7 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 8 | 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 9 | 27 | 28 | 29 | 01 | 02 | 03 | 04 |