symfony2admingenerator / AdmingeneratorGeneratorBundle

(old-legacy) Admingenerator for Symfony2, parse generator.yml files to build classes
http://symfony2admingenerator.org/
MIT License
360 stars 125 forks source link

base_login.html.twig not found in Admin generator bundle ( Symfony 2.5) #772

Open Stefun opened 10 years ago

Stefun commented 10 years ago

I installed Admin Generator bundle by following https://github.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/blob/master/Resources/doc/installation/installation-via-composer.md document. I also installed AdmingeneratorUserBundle. But login page showing this error

Unable to find template "AdmingeneratorGeneratorBundle::base_login.html.twig"

When I check AdminGeneratorbundle I didn't find any base_login.html.twig file. How we can load basic login template?

Is this issue because of AdmingenertorOldthemebundle not available? (Referring http://symfony2admingenerator.org/installation.html )

ioleo commented 10 years ago

Hi @Stefun

1. Use this:

admingenerator_user:
     login_template: AdmingeneratorGeneratorBundle::base_admin.html.twig

(it seems there is an error in UserBundle's readme).

2. Themes

We've deleted OldThemeBundle and ActiveAdminThemeBundle, as their templates are no longer compatible (more than a year now) with AdmingeneratorGeneratorBundle.

The only avaliable themes are Twitter Bootstrap 2 (branch 1.0) and Twitter Bootstrap 3 (branch 1.1 and dev-master). You may expect minor bugfixes to 1.0 branch, however we advise to use/upgrade to 1.1 branch, as it will be developed further and enhanced with new features.

3. Docs

Most up-to-date docs are found in Resources/docs and README in github repositories. The symfony2admingenerator.org website has not been updated for over a year. While its docs are still valid for many features, this website should be used as a last-resort reference (in case the feature is not documented yet on github repo).