Jump to main content Jump to doc navigation

Usage

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.

See Also

  1. eventsCalendar2.eventsCalendar2
  2. eventsCalendar2.Generating events
  3. eventsCalendar2.tplCalendar2
  4. eventsCalendar2.tplCell2
  5. eventsCalendar2.tplEvent2
  6. 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

  • modmore
  • STERC
  • Digital Penguin
  • Jens Wittmann – Gestaltung & Entwicklung
  • Fabian Christen
  • Dannevang Digital
  • Sepia River Studios
  • CrewMark
  • Chris Fickling
  • deJaya
  • eydolan
  • Following Sea
  • Lefthandmedia
  • Murray Wood
  • Anton Tarasov
  • Stéphane Jäggi
  • Raffy
  • Snow Creative
  • A. Moreno
  • Nick Clark
  • JT Skaggs
  • Helen
  • YJ
  • krisznet
  • Richard
  • Yanni

Budget

$311 per month—let's make that $500!

Learn more