sonata-project / SonataAdminBundle

The missing Symfony Admin Generator
https://docs.sonata-project.org/projects/SonataAdminBundle
MIT License
2.11k stars 1.26k forks source link

Templates dev-master are not updated #2939

Closed joshlopes closed 9 years ago

joshlopes commented 9 years ago

For some reason the templates are not the last ones -- I removed the vendor folder and installed it again dev-master and the templates that i got are different from the demo one.

It appears to be using blank buttons, no fa-icons and no classes defined such btn-info btn-success etc.

Where can i grab the last twig templates or are they in a specific tag / Branch?

Example: http://grab.by/GEt2 should look like this http://grab.by/GEtg

Regards

joshlopes commented 9 years ago

Another thing that i think it may be related -- After adding a new Record i need to use Admin.setup_icheck(); otherwise my icheck options are all broken. I saw some references to this on the past but i think the problem is back on the newer versions

pulzarraider commented 9 years ago

If you want to use dev-master version of SonataAdmin, please make sure you use SonataCoreBundle, SonataAdminBundle and SonataDoctrineORMAdmin in dev-master version. Do not mix stable and unstable versions of bundles.

joshlopes commented 9 years ago

@pulzarraider as you can see i am importing all as dev-master

"sonata-project/admin-bundle": "dev-master", "sonata-project/doctrine-mongodb-admin-bundle": "dev-master", "sonata-project/formatter-bundle": "dev-master", "sonata-project/datagrid-bundle": "dev-master", "sonata-project/user-bundle": "dev-master",

I have just updated the SonataCoreBundle to dev-master the problem persist. "sonata-project/core-bundle": "dev-master",

Regards

joshlopes commented 9 years ago

@pulzarraider one thing just popped to my mind -- i am using mongodb and mongodb has its own templates -- could it be the reason ? even 2.3 seems to be broken -- no icons being displayed.

pulzarraider commented 9 years ago

Yes, that's the reason. The design of SonataAdmin was upgraded and in SonataDoctrineMongoDBAdminBundle are old templates. This issue should be opened there. Probably only some CSS classes are missing.