html5-Templates für Standard-Inhaltselemente in Contao 5.3
Hi,
in Contao 5.3 können für die Standard-Inhaltselemente (wie zb. das Downloads-Inhaltselement) nur noch Twig-Templates verwendet werden, oder?
(Meine custom "templates/ce_downloads.html5" wird mir nämlich bei den Template-Einstellungen des Inhaltselements nicht angeboten. Nehme an das soll so sein.)
Liste der Anhänge anzeigen (Anzahl: 1)
Zitat:
Zitat von
Spooky
Ich habe die Datei "contao/config/config.php" angelegt und dort folgendes eingetragen:
Code:
<?php
$GLOBALS['TL_CTE']['files']['downloads'] = \Contao\ContentDownloads::class;
$GLOBALS['TL_CTE']['files']['download'] = \Contao\ContentDownload::class;
... und danach den Cache geleert.
Dennoch beharrt Contao auf das Template "content_element/downloads":
Anhang 27029
D.h. das html5-Template "templates/ce_downloads.html5" wird ignoriert.
Mache ich da was falsch?