Menu
  • HOME
  • TAGS

Knp\DoctrineBehaviors + a2lix_translations + Sonata Admin

symfony2,doctrine2,sonata-admin,a2lix-translation

Remove setters and getters from main class then doctrine:schema:update. Also in sonata category admin: $formMapper->add('translations', 'a2lix_translations'); ...

A2lix relations manytomany with entites

php,symfony2,doctrine,a2lix-translation

Try ->add('base', 'a2lix_translatedEntity', array( 'class' => 'HelloPlatformBundle:Base', 'translation_property' => 'name', 'multiple' => true, 'expanded' => true, )) As explain on http://a2lix.fr/bundles/translation-form/#bundle-additional, current implementation need that translations exist for the current locale....

sf 2.6 A2LiX entityTranslation doesn't found

symfony2,translation,a2lix-translation

The error is thrown becous the newest version of a2lix is not compatible with the stable version of Gedmo check this answer http://stackoverflow.com/a/22018321/2160958 If you want to use Gedmo strategy you will have to downgrade your "a2lix/translation-form-bundle" to "1.*@dev" if you want to use the newest version of "a2lix/translation-form-bundle" you...