Skip to content

Template kann in /templates/unterverzeichnis-templates nicht gefunden werden #5

@Olli

Description

@Olli

Contao 4.9.8 - Filterbundle 1.5.4

Ich habe ein Template für mein Formular in /templates/unterverzeichnis abgelegt. In der Filterconfig ist dieses Template auch auswählbar.
Ich bekomme aber einen Fehler, dass Template nicht findbar ist.
Folgende Fehlermeldung kommt

request.CRITICAL: Uncaught PHP Exception Twig\Error\LoaderError: "Unable to find template "/www/htdocs/*/*/templates/unterverzeichnis-templates/filter_form_*_div_layout.html.twig" (looked into: /www/htdocs/*/*/vendor/knplabs/knp-menu/src/Knp/Menu/Resources/views, /www/htdocs/*/*/templates, /www/htdocs/*/*/vendor/symfony/twig-bridge/Resources/views/Form)." at /www/htdocs/*/*/vendor/twig/twig/src/Loader/FilesystemLoader.php line 250 {"exception":"[object] (Twig\\Error\\LoaderError(code: 0): Unable to find template \"/www/htdocs/*/*/templates/unterverzeichnis-templates/filter_form_*_div_layout.html.twig\" (looked into: /www/htdocs/*/*/vendor/knplabs/knp-menu/src/Knp/Menu/Resources/views, /www/htdocs/*/*/templates, /www/htdocs/*/*/vendor/symfony/twig-bridge/Resources/views/Form). at /www/htdocs/*/*/vendor/twig/twig/src/Loader/FilesystemLoader.php:250)"}

So wie es aussieht wird in /templates gesucht aber nicht in /templates/unterverzeichnis-templates .
Das Verzeichnis ist aber im Theme als templates Ordner angegeben.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions