modTimetable

modTimetable is an extra by muzzstick, first released on 2017-11-08.

Package Description

For MODX Revolution 2.3+Requires PHP 5.5+Currently in Alpha. Use at own risk.

A user-friendly Custom Manager Page for inputting weekly timetable data with options on how to display it on the web context.

Render it in a HTML tables or straight to divs.

Usage/Installation Instructions

Example Snippet calls

-------------

To show timetables with IDs 1 and 2 in a table:

[[!modTimetable? &timetables=`1,2` &renderTable=`1`]]

or to include custom chunks:

[[!modTimetable?    &timetables=`1,2`    &renderTable=`1`    &tableHeaderRowTpl=`myHeaderRowChunk`    &timetableTpl=`myMainTimetableChunk`    &sessionTpl=`mySessionChunk`]]

To display sessions for a single day from multiple timetables:(This depends on what you set the day name as in the CMP.)

[[!modTimetable?    &timetables=`1,2`    &day=`Tuesday`]]

To display a single day from multiple timetables relative to the current day:(This will display the next "active" day that contains sessions.)

[[!modTimetable?    &timetables=`1,2`    &day=`auto`]]

Details

Developer(s)
muzzstick
Released
2017-11-08
First seen
2017-11-08
License
GPLv2
Supported databases
MySQL
Minimum MODX Requirement
2.3

modTimetable Releases

Signature Released on  
0.2.0-pl 2017-11-08 (8 months ago)
0.1.2-pl 2017-10-31 (8 months ago)
0.1.1-pl 2017-10-24 (8 months ago)