tplCell2
Last updated Mar 9th, 2021 | 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
$301 per month—let's make that $500!
Learn moreUsage¶
This chunk is a cell of calendar table.
<td id="[[+ec.cell_id]]" data-fulldate="[[+ec.fulldate]]"><td class="cell [[+ec.class]]" id="[[+ec.cell_id]]" data-fulldate="[[+ec.fulldate]]">
<div class="[[+ec.class_date]]">[[+ec.day]]</div>
<div class="[[+ec.class_event]]">[[+ec.events]]</div>
</td>
Placeholders¶
Name | Description |
---|---|
class_dow | CSS classname for day of week. |
class_month | CSS classname for month and year. |
class_workday | CSS classname for workday. |
class_weekend | CSS classname for weekend. |
class_today | CSS classname for today. |
class_event | CSS classname for div container with event. |
class_isevent | CSS classname for cell with event. |
class_noevent | CSS classname for cell with no event. |
class_date | CSS classname for date of event. |
class_emptyday | CSS classname for empty day, with no date. |
class_prev | CSS classname for previous month button. |
class_next | CSS classname for next month button. |
day_total | Total events in the day. |