# Plugin unable to load template

**URL:** <https://forum.shopware.com/t/plugin-unable-to-load-template/45607>\
**Category:** International (English Only)\
**Tags:** themes--design\
**Created:** [5. Mai 2017 um 08:36 UTC](https://forum.shopware.com/t/plugin-unable-to-load-template/45607 "2017-05-05T08:36:39Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Patrick\_Stahl](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/patrick_stahl/32/7679_2.png) [@Patrick\_Stahl](https://forum.shopware.com/u/Patrick_Stahl)\
**Post date:** [8. Mai 2017 um 11:52 UTC](https://forum.shopware.com/t/plugin-unable-to-load-template/45607/8 "2017-05-08T11:52:57Z")

</div>

Hey @dNovoNiels‍,

I got your example to work. 🙂

What did I have to do?  
1st: Your registered event in your DnovoEvents.php was wrong. There was an ‘s’ missing at the end of the string, since your controller is written with a ‘s’ at the end.  
2nd: The path to your controller was missing a slash ( / ) at the beginning in the method&nbsp; **onGetFrontendController**. The path to your custom views directory was correct though and already included a slash.  
3rd: Make sure to only use lower-case folder names in your views-folder. Had to change both “Frontend” and&nbsp;“events” to be lowercase.

After those three adjustments, the plugin worked for me and I could successfully call your custom controller with the proper template.

Do those information help you?

Patrick&nbsp; ![Shopware](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/1X/86c57fbace799dd4eb1f1b8a2d3bdc1733f0aea1.png "Shopware")

---

_[View the full topic](https://forum.shopware.com/t/plugin-unable-to-load-template/45607)._
