Forums

Covering OroCommerce, OroCRM, OroPlatform topics, including community updates and company announcements.

Forums OroCRM How I override 'OroContactBundle:Contact:view.html.twig' without rewrite code?

This topic contains 2 replies, has 2 voices, and was last updated by  igalayev 7 months, 2 weeks ago.

  • Creator
    Topic
  • #30824

    spyout98
    Participant

    I want to override the default “/contact/view/{id}” twig file, located in “https://github.com/oroinc/crm/blob/2.5.0/src/Oro/Bundle/ContactBundle/Resources/views/Contact/view.html.twig”. For that, I’ve created my custom bundle and It is working. But I would extend this twig file in a more elegant way.

    One possibility to override this twig file is copy and paste all code inside the file above and change what I need. But there is a way to redefine some blocks of it without need to copy and paste all the code from the original file?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

You will be redirected to [title]. Would you like to continue?

Yes No
sso for www.magecore.comsso for oroinc.comsso for oroinc.desso for oroinc.frsso for marketplace.orocommerce.comsso for marketplace.orocrm.com