Kunstmaan / KunstmaanBundlesCMS

An advanced yet user-friendly content management system, based on the full stack Symfony framework combined with a whole host of community bundles. It provides a full featured, multi-language CMS system with an innovative page and form assembling process, versioning, workflow, translation and media managers and much more.
https://kunstmaancms.be
MIT License
402 stars 186 forks source link

Doctrine extensions not fully installed? #158

Closed JoakimLofgren closed 9 years ago

JoakimLofgren commented 9 years ago

Hey,

You use a few @Gedmo\Translatable entity columns in the CMS, for instance on Kunstmaan\MediaBundle\Entity\Folder.

This doctrine extension does not seem to be properly "installed" though, if you look at the instructions here: https://github.com/Atlantic18/DoctrineExtensions/blob/master/doc/symfony2.md#ext-mapping

E.g. missing services for the listeners and the DoctrineExtensionsListener class.

I'd like to use the @Gedmo\Translatable functionality on some of my entities. Only the tree listener is installed with the node bundle, but the rest aren't.

If you want I could make a pull request to install the ones defined in the config

wimvds commented 9 years ago

They should be properly installed if you started from the standard edition...

https://github.com/Kunstmaan/KunstmaanBundlesStandardEdition/blob/master/app/config/config.yml#L49-L78

JoakimLofgren commented 9 years ago

Ah right, you use the StofDoctrineExtensionsBundle.. https://github.com/stof/StofDoctrineExtensionsBundle/blob/master/Resources/doc/index.rst

Do I need to do something special to have it work in my admin list ?

JoakimLofgren commented 9 years ago

Aha, figured it out.. You just need to change language in the backend.

Not very apparent that the field is translatable in the admin list. :(