tplHead2
Last updated Dec 7th, 2019 | Page history | Improve this page | Report an issue
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$306 per month—let's make that $500!
Learn moreUsage¶
This chunk is a header of the calendar.
<tr>
<td class="[[+ec.class_prev]]"><a href="[[+ec.link_prev]]">←</a></td>
<td class="[[+ec.class_month]]" colspan="5" style="text-align:center;"><strong>[[+ec.month_name]] [[+ec.year]]</strong></td>
<td class="[[+ec.class_next]]"><a href="[[+ec.link_next]]">→</a></td>
</tr>
Placeholders¶
Name | Description |
---|---|
link_prev | Link to next month |
link_next | Link to previous month |
class_prev | CSS classname for previous month button. |
class_next | CSS classname for next month button. |
class_month | CSS classname for month and year. |
month_name | Name of the current month/ |
month_prev | Name of the previous month. |
month_next | Name of the next month. |
year | Current year. |
See Also¶
- eventsCalendar2.eventsCalendar2
- eventsCalendar2.Generating events
- eventsCalendar2.tplCalendar2
- eventsCalendar2.tplCell2
- eventsCalendar2.tplEvent2
- eventsCalendar2.tplHead2
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$306 per month—let's make that $500!
Learn more