contao/test — Issue #713: Additional data in module calendar
Author: importer
Created: 2011-11-28 17:18:25+00:00
State: open
Labels: calendar, Feature

It would be nice if the module calendar could add some additional data that can be used in the template.

For example:
the current month and year of the calendar

at the moment I have added two lines to my files

in file
ModuleCalendar.php

in
function compile()
{
[...]
$objTemplate->intMonth = $intMonth;
$objTemplate->intYear = $intYear;
[...]
}

--- _Originally created by chrisol_76 on May 9th, 2009, at 03:58pm (ID 713)_