OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums Forums OroPlatform OroPlatform – How do I? Questions Overwrite oro_entity_create_or_select_inline_widget

This topic contains 1 reply, has 2 voices, and was last updated by  Mike Kudelya 7 years, 4 months ago.

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

  • Creator
    Topic
  • #36374

    AuxDS
    Participant

    Hi Guys,

    i try to overwrite the Form Block “{% block oro_entity_create_or_select_inline_widget %}“,
    but it’s not working.
    I created an “fields.html.twig” and configure it in my “app/config.yml“:

    The “fields.html.twig” look like:

    But the “entity-select-btn” Button is still showing up.
    Can anybody help me?

    Thanks
    David

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #36375

    Mike Kudelya
    Participant

    Hi

    Please create your custom bundle, extend it from FormBundle, copy fields.html.twig to your bundle, note that you should save directory structure, it will the same as in FormBundle. Detailed information you can find there. For some reason, occurs a circular dependency when you extend your fields.html.twig from OroFormBundle:Form:fields.html.twig instead OroUIBundle:Form:fields.html.twig

Viewing 1 replies (of 1 total)

The forum ‘OroPlatform – How do I? Questions’ is closed to new topics and replies.

Back to top