Forums

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

Forums OroPlatform OroPlatform – Programming Questions [3.0] Template overriding

This topic contains 3 replies, has 2 voices, and was last updated by  nicolas.sinabs 1 month, 2 weeks ago.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #34582

    nicolas.sinabs
    Participant

    I added some logs in this class : Symfony\Component\HttpKernel\Config\FileLocator
    and I see that the custom include path is apparently src/Resources.
    I moved my custom templates in this folder and it works.

    src/Resources/{BUNDLE_NAME}/views/{PATH/TO/TEMPLATE.html.twig}

    #34583
    Andrey Yatsenko
    Andrey Yatsenko
    Moderator

    Hi Nicolas,
    Thank you for the report.

    This is the known issue. For now, as a workaround, templates can be placed to “src/Resources”, as you described.

    Internal ticket id: #BAP-17512

    #34585

    nicolas.sinabs
    Participant

    Hi Andrey,

    Thank you for your answer !

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

You must be logged in to reply to this topic.

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

Yes No
ssossossossossosso