ok, es liegt an dem letzten:
PHP-Code:
echo \Controller::getFrontendModule($intModuleId);
wenn ich das "normal" - also nur einfach - aufrufe läuft es,
PHP-Code:
// ID of calendar module
$intModuleId = 11;
// current year and month
$actualDate = date('Ym');
// given year and month
if ($inputMonth = \Input::get('month')) {
$actualDate = $inputMonth;
}
echo \Controller::getFrontendModule($intModuleId);
wenn ich nun aber möchte, dass das modul 12 x hintereinander aufgerufen wird (s.o. for( $i = 0; $i <= 11; ++$i )), damit ich 12 monate im überblick erhalte, bekomme ich einen 404 fehler.
da bin ich maximal ratlos.
warum ist das so?
die monate werden zuvor mit
PHP-Code:
\Input::setGet('month', $nextYear.str_pad($nextMonth, 2, '0', STR_PAD_LEFT));
korrekt gesetzt.
Lesezeichen