# Cant find twig file

**URL:** <https://forum.shopware.com/t/cant-find-twig-file/61808>\
**Category:** Themes & Design (EN)\
**Created:** [17. September 2019 um 09:54 UTC](https://forum.shopware.com/t/cant-find-twig-file/61808 "2019-09-17T09:54:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yafar\_iSi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/yafar_isi/32/10765_2.png) [@Yafar\_iSi](https://forum.shopware.com/u/Yafar_iSi)\
**Post date:** [17. September 2019 um 09:54 UTC](https://forum.shopware.com/t/cant-find-twig-file/61808/1 "2019-09-17T09:54:00Z")

</div>

Hi

Some namespace in TWIG&nbsp;is not accessible from everywhere

Example:

```
{% include "@Storefront/components/atoms/icon/icon.twig" %}

```

Does not find icon.twig, but&nbsp;

```
{% sw_include "@Storefront/components/atoms/icon/icon.twig" %}

```

It does finds it.

&nbsp;

I understand that TWIG&nbsp;does not allow multi inheritance out of the box and that we should use sw\_include.

But this brings the next problem

```
{{ block("logo", "@Storefront/components/atoms/icon/icon.twig") }}

```

The Storefront name is not included then icon.twig is not found

Could Storefront call universally?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Michael\_Telgmann](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/michael_telgmann/32/20289_2.png) [@Michael\_Telgmann](https://forum.shopware.com/u/Michael_Telgmann)\
**Post date:** [17. September 2019 um 12:54 UTC](https://forum.shopware.com/t/cant-find-twig-file/61808/2 "2019-09-17T12:54:10Z")

</div>

Hi,

I think, that we currently do not support the block() function of Twig, because of the reasons your already said. I created at ticket for that&nbsp;[Shopware Issuetracker](https://issues.shopware.com/issues/NEXT-4950)  
Maybe we could fix that

Best regards from Schöppingen

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