简体   繁体   中英

Symfony2 Sonata Classification Bundle Extends

I installed Sonata Classification bundle (part of Sonata Project Sandbox) which include Categories, Tags and Collections. Now I need create custom categories class, for example Categories for Restaurants, which should be identical to the Categories, but must contain several custom options, and save all data to another mysql table.

I can't do it in Application folder because I can't override some config files, such as routes and admin.xml, because of DI. Vendor\\Sonata\\ClassificationBundle have DI folder, and configs connects through Dependency Injection. I can't override it in Applications folder.

How can I perform this task??

Thank you.

如果您不能使用原则来做到这一点,那么您就不能使用SonataAdminBundle来做到这一点。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM