Easyadminbundle: Unable to set custom template

Created on 11 Jun 2018  路  7Comments  路  Source: EasyCorp/EasyAdminBundle

Describe the bug
I want to set a custom template from a namespace .

To Reproduce

easy_admin:
  design:
    templates:
      layout: '@Namespace/easy_admin/layout.html.twig'

(OPTIONAL) Additional context
This BC was introduced in #2249

Most helpful comment

@xabbuh
Just stumbled across this problem in my app too.
Tested your fix and can confirm it's working.
Thanks for your work.

All 7 comments

I am on it.

@hason Can you confirm that #2262 fixes the issue for you?

where are we on the issue ?

Before 1.17.13 easyadmin was able to find templates in this format @AppBundle/Resources/views/test/test.html.twig
now (after applying #2262) only working format is
@App/test/test.html.twig
i don't know if this is feature or bug but will be good to mention about this in docs or fix

I had to rollback to 1.17.2 because easyadmin was not able to load my template...

Did any of you test the fix from #2262 and can confirm that it fixes the issue you experience? Having some confirmation would probably speed up the release process a lot.

@xabbuh
Just stumbled across this problem in my app too.
Tested your fix and can confirm it's working.
Thanks for your work.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Ealenn picture Ealenn  路  3Comments

ghost picture ghost  路  3Comments

BigMichi1 picture BigMichi1  路  3Comments

Wait4Code picture Wait4Code  路  3Comments

SirMishaa picture SirMishaa  路  3Comments