This topic contains 3 replies, has 2 voices, and was last updated by ignat 8 years, 11 months ago.
- Topic
I’m trying to create my own bundle…in the process I need to modify:
\OroCRM\Bundle\ContactBundle\Resources\views\widget\info.html.twig
I assumed I need to follow the instructions here: http://symfony.com/doc/current/cookbook/bundles/inheritance.html and added the following:
123456789class CDMsgBundle extends Bundle{public function getParent(){return 'OroCRMContactBundle';}}Things seem to work, however later on I wanted to add a css file to assets.yml and was following instructions here: http://oroinc.com/orocrm/doc/current/book/layout#custom-css-files
When I run php app/console assets:install and clear the cache I get a symfony error:
12An exception has been thrown during the rendering of a template ("Unable to generate a URL for the named route "orocrm_contact_create" as such route does not exist.") in OroNavigationBundle:Shortcut:shortcuts.html.twig at line 207Am I doing this best practice? Or is there an alternative way?
The forum ‘OroCRM – Programming Questions’ is closed to new topics and replies.