OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums Forums OroPlatform OroPlatform – Programming Questions [3.0] Template overriding

This topic contains 3 replies, has 2 voices, and was last updated by  nicolas.sinabs 5 years, 7 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

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
    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)

The forum ‘OroPlatform – Programming Questions’ is closed to new topics and replies.

Back to top