Description: Main calendar area, includes the body and header of the currently selected calendar.
<widget type="events_calendar"> <arg id="modular">true</arg> </widget <xphp var="lw_calendar"/>
The code above will render the simple calendar view below.
You can also split lw_calendar into separate header and body components for even greater control:
<widget type="events_calendar"> <arg id="modular">true</arg> </widget <div id="lw_cal"> <xphp var="lw_calendar_header"/> <xphp var="lw_calendar_body"/> </div>
This would let you put other elements between the header and body, for instance. Note: The <div id="lw_cal"> wrapper around these two items is required for the calendar to load properly.