This topic contains 5 replies, has 2 voices, and was last updated by Mike Kudelya 7 years, 8 months ago.
- Topic
Hi,
I have extended the Account Bundle as per here and placed my custom views in the app/Resources/{BUNDLE_NAME}/views/ directory. This works fine and I can override the datagrid.yml file the same way.
But I need to make few changes with the way the records of Accounts are displayed and this I believe can only be modified using an event listener. As such, where do I place the EventListener? I have seen Yehven’s advice here along with link to the code but it doesn’t explain for extended bundles I think.
I tried placing the EventListener (which looks same like the CallListener in the above link) at app\Resources\OroCRMAccountBundle\EventListener\Datagrid\AccountListener.php but that doesn’t work. I even tried placing the same path in src/ instead of app/ but no luck either. Does this need to be registered in services.yml of the Account Bundle (well I tried that too).
Thanks.
The forum ‘OroCRM – How do I? Questions’ is closed to new topics and replies.