This topic contains 0 replies, has 1 voice, and was last updated by mmr 8 years, 7 months ago.
- Topic
Hi,
i’m still new to symfony and oro and now i stuck using it. I have build a bundle with clean Symfony which uses KnpPaginatorBundle. Now i tried to migrate this to OroPlatform by moving the folders of the Bundle to /src. KnpPaginatorBundle i installed using composer. The required files were saved to /vendor.
I modified the templates to display the content of my bundle. At this point my Bundle works fine except the one view wich uses the PagninatorBundle. The Application tells me ‘You have requested a non-existent service “knp_paginator”‘.So, what did i wrong?
– installing Knp via Composer
– created a file /src/knplabs/knp-paginator-bundle/Resources/config/oro/bundles.yml with following content
bundles:
- Knp\Bundle\KnpPaginatorBundlei also tried to register a service within my Bundle by the /Resources/config/service.yml File
services:
knp_paginator:
class: Knp\Bundle\KnpPaginatorBundleIs there anything else i have to do, to get a Bundle in /vendor work?
The forum ‘OroPlatform – Installation/Technical Issues or Problems’ is closed to new topics and replies.