My monthly calendar displays just the way I want it, but I need it to always represent the current month plus 2 months. So if this is December, it should display February.
This is what I've tried so far but it doesn't work:
Both instances of "calendar" display the same month.
Suggestions?
This is what I've tried so far but it doesn't work:
- Code: Select all
<cms:calendar >
<cms:set next_month = k_next_calendar_date 'global' />
<cms:add next_month '1' />
<cms:show next month />
</cms:calendar>
<cms:calendar date=next_month masterpage='events.php' show_future_entries='1' >
<cms:date k_calendar_date format='F Y' />
</cms:calendar>
Both instances of "calendar" display the same month.
Suggestions?