Skip to content
This repository was archived by the owner on Nov 9, 2024. It is now read-only.
This repository was archived by the owner on Nov 9, 2024. It is now read-only.

Cannot override bundle templates in Symfony 4 #11

@pablo-vila

Description

@pablo-vila

Hi, thanks for this bundle,
I need to add some custom code in "simple_google_place_autocomplete_jd.html.twig" template, specifically capture the "place_changed" event and do some work with the data returned by google.

I've done this before in Symfony 3 overriding the template in this path: "app/Resources/CethyworksGooglePlaceAutocompleteBundle/simple_google_place_autocomplete_jd.html.twig" but in Symfony 4 this path does not work anymore. I tried using the Symfony overriding mechanism for overriding third party templates, as stated here: , but I cannot get it to work and I asume this is because this bundle does not use the standard path for templates. Is that correct? Can you help me get this override working?

Thanks very much

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions