Skip to content

Unable to use layout :( #237

@craph

Description

@craph

@shakaran , @kevinpapst ,

I create another issue because this bundle is very hard to use and the documentation is very weird.
I follow each step of the documentation to use this Bundle based on dev-master branch and it's always wrong...

I got the following error message :
Unable to find template "AvanzuAdminThemeBundle:layout:default-layout.html.twig" (looked into: C:\wamp64\www\project\app/Resources/views, C:\wamp64\www\project\vendor\symfony\symfony\src\Symfony\Bridge\Twig/Resources/views/Form) in base.html.twig at line 1

Test case to reproduce :

1/ symfony new <project_name> lts
2/ cd <project_name>
3/ composer update
4/ composer require avanzu/admin-theme-bundle dev-master
5/ Add new Avanzu\AdminThemeBundle\AvanzuAdminThemeBundle(), to AppKernel.php
6/ php bin/console avanzu:admin:initialize
7/ php bin/console assets:install --symlink
8/ php bin/console avanzu:admin:fetch-vendor
9/ add this {% extends 'AvanzuAdminThemeBundle:layout:default-layout.html.twig' %} to my base.html.twig under app/Resources/views

What I am doing wrong ??? and it's also the same with the version 1.3.x ....

Debug info

Component Version
Symfony version 3.4
AdminThemeBundle dev-master
Operating System Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions