Hallo,
in meinem Modul füge ich in der config.php ein Auto Item hinzu:
PHP-Code:
/**
* AUTO ITEMS
*
* Auto items are stored in a global array called "TL_AUTO_ITEM". You can
* register your own auto items by adding them to the array.
*
* $GLOBALS['TL_AUTO_ITEM'] = array('items', 'events');
*
* Auto items are keywords, which are used as parameters by certain modules.
* When rebuilding the search index URLs, Contao needs to know about these
* keywords so it can handle them properly.
*/
$GLOBALS['TL_AUTO_ITEM'][] = 'projekt';
Das hat unter Contao 3.0.x einwandfrei funtioniert. So konnte ich Folgende URLs erstellen: http://test.de/projekte/projekt/ein-alias.html
Seit dem Update auf 3.1 funktioniert das leider nicht mehr. Wenn ich die Detailseite über http://test.de/projekte/item/ein-alias.html aufrufe (mit umbau der GET Abfrage) funktioniert es auch alles.
Im Changelog finde ich keine Änderungen an der Funktion. Weiß jemand da mehr?
Viele Grüße!
Lesezeichen