# Overriding Mautic5 Twig templates with a plugin

**URL:** <https://forum.mautic.org/t/overriding-mautic5-twig-templates-with-a-plugin/31248>\
**Category:** Development\
**Tags:** mautic-5\
**Created:** [March 13, 2024, 6:51am UTC](https://forum.mautic.org/t/overriding-mautic5-twig-templates-with-a-plugin/31248 "2024-03-13T06:51:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pattihis](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/pattihis/32/11592_2.png) [@pattihis](https://forum.mautic.org/u/pattihis)\
**Post date:** [March 13, 2024, 6:51am UTC](https://forum.mautic.org/t/overriding-mautic5-twig-templates-with-a-plugin/31248/1 "2024-03-13T06:51:07Z")

</div>

I am trying to override the Leads table view of Mautic (v5.0.3) via a plugin I created. Plugin is installed and works properly.

The Twig template I am trying to override resides at  
`app\bundles\LeadBundle\Resources\views\Lead\list.html.twig`

I had copied that file to  
`plugins\MauticMyPluginBundle\Resources\views\Lead\list.html.twig`  
and edited it.

I have cleared cache but still do not see my changes. What else is needed for the system to pickup the template from the plugin instead from the core bundle?
