# einkaufswelt element frontend template include

**URL:** <https://forum.shopware.com/t/einkaufswelt-element-frontend-template-include/60568>\
**Category:** Programmierung\
**Created:** [22. Juli 2019 um 08:29 UTC](https://forum.shopware.com/t/einkaufswelt-element-frontend-template-include/60568 "2019-07-22T08:29:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wontfix](https://avatars.discourse-cdn.com/v4/letter/w/b19c9b/32.png) [@wontfix](https://forum.shopware.com/u/wontfix)\
**Post date:** [22. Juli 2019 um 08:29 UTC](https://forum.shopware.com/t/einkaufswelt-element-frontend-template-include/60568/1 "2019-07-22T08:29:12Z")

</div>

[https://developers.shopware.com/developers-guide/custom-shopping-world-elements/](https://developers.shopware.com/developers-guide/custom-shopping-world-elements/)

wie includen wir andere smarty templates in der Resources/views/emotion\_components/widgets/emotion/components/whatever.tpl?

---

<div class="post-metadata">

**Author:** ![shyim](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/shyim/32/7681_2.png) [@shyim](https://forum.shopware.com/u/shyim)\
**Post date:** [22. Juli 2019 um 16:41 UTC](https://forum.shopware.com/t/einkaufswelt-element-frontend-template-include/60568/2 "2019-07-22T16:41:24Z")

</div>

ganz normales smarty {include file=…}

---

<div class="post-metadata">

**Author:** ![wontfix](https://avatars.discourse-cdn.com/v4/letter/w/b19c9b/32.png) [@wontfix](https://forum.shopware.com/u/wontfix)\
**Post date:** [23. Juli 2019 um 08:38 UTC](https://forum.shopware.com/t/einkaufswelt-element-frontend-template-include/60568/3 "2019-07-23T08:38:25Z")

</div>

ahaa!

hab ein template `Resources/views/emotion_components/widgets/emotion/components/test.tpl` addiert und in der `emotion_vimeo.tpl` included, und der hinweis ist wohl in der fehler:

```
core.CRITICAL: Unable to load template snippet 'test.tpl' in 'widgets/emotion/components/emotion_vimeo.tpl'

```

die richtige pfad muss dieselbe sein wie die “in” pfad in fehler:

```
{include file="widgets/emotion/components/test.tpl"}

```

also braucht man keine extra template subscriber, cool!
