# Adding a custom CMS block

**URL:** <https://forum.shopware.com/t/adding-a-custom-cms-block/62193>\
**Category:** Programming (EN)\
**Created:** [7. Oktober 2019 um 13:38 UTC](https://forum.shopware.com/t/adding-a-custom-cms-block/62193 "2019-10-07T13:38:43Z")\
**Posts on this page:** 8\
**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:** [7. Oktober 2019 um 13:38 UTC](https://forum.shopware.com/t/adding-a-custom-cms-block/62193/1 "2019-10-07T13:38:43Z")

</div>

Hi

I am trying to make my own CMS block to be able to add dynamic content from the backend with the&nbsp;Shopping Experiences editor

I have followed all the instructions and I can’t make the editor show my block&nbsp;

[https://docs.shopware.com/en/shopware-platform-dev-en/how-to/custom-cms-block#injecting-into-the-administration](https://docs.shopware.com/en/shopware-platform-dev-en/how-to/custom-cms-block#injecting-into-the-administration)

No errors or anything, but is not there

![](https://ibb.co/jTtG1WC)

 ![asdf](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/6/61506611a3615772eba23cb2fae5e67c274e64c7.jpeg)

Any suggestions?

---

<div class="post-metadata">

**Author:** ![brettvormkopp](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/brettvormkopp/32/7788_2.png) [@brettvormkopp](https://forum.shopware.com/u/brettvormkopp)\
**Post date:** [7. Oktober 2019 um 13:44 UTC](https://forum.shopware.com/t/adding-a-custom-cms-block/62193/2 "2019-10-07T13:44:46Z")

</div>

It doesn’t work in my shop either. Have you tried using your own pictures?

---

<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:** [7. Oktober 2019 um 13:47 UTC](https://forum.shopware.com/t/adding-a-custom-cms-block/62193/3 "2019-10-07T13:47:32Z")

</div>

Thanks for your reply&nbsp;

I have tried but no change…

---

<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:** [8. Oktober 2019 um 08:04 UTC](https://forum.shopware.com/t/adding-a-custom-cms-block/62193/4 "2019-10-08T08:04:35Z")

</div>

What is crazy is that if I clone and I install the one from the repo it works.  
[https://github.com/shopware/swag-docs-custom-cms-block](https://github.com/shopware/swag-docs-custom-cms-block)

There problem&nbsp;is that there are&nbsp;no instructions to do&nbsp;/src/Resources/views/administration/index.html.twig

in here&nbsp;[https://docs.shopware.com/en/shopware-platform-dev-en/how-to/custom-cms-block#injecting-into-the-administration](https://docs.shopware.com/en/shopware-platform-dev-en/how-to/custom-cms-block?_ga=2.263653775.202609927.1570434260-1151526321.1565079374#injecting-into-the-administration)

Can somebody elaborate on this?

---

<div class="post-metadata">

**Author:** ![halfpint\_utopia](https://avatars.discourse-cdn.com/v4/letter/h/eb9ed0/32.png) [@halfpint\_utopia](https://forum.shopware.com/u/halfpint_utopia)\
**Post date:** [22. Oktober 2020 um 13:46 UTC](https://forum.shopware.com/t/adding-a-custom-cms-block/62193/5 "2020-10-22T13:46:40Z")

</div>

Did you ever find a solution for this? I am having the same problem, I thought the additional js and css files looks to be compiled by webpack, so did not add this.

---

<div class="post-metadata">

**Author:** ![gregamer](https://avatars.discourse-cdn.com/v4/letter/g/c77e96/32.png) [@gregamer](https://forum.shopware.com/u/gregamer)\
**Post date:** [19. Mai 2021 um 14:51 UTC](https://forum.shopware.com/t/adding-a-custom-cms-block/62193/6 "2021-05-19T14:51:13Z")

</div>

Having the same problem here. Even installing the custom block from above github link doesn’t show it in my blocks in the experience builder … Any suggestions?

---

<div class="post-metadata">

**Author:** ![\_oernest](https://avatars.discourse-cdn.com/v4/letter/_/41988e/32.png) [@\_oernest](https://forum.shopware.com/u/_oernest)\
**Post date:** [23. September 2021 um 08:43 UTC](https://forum.shopware.com/t/adding-a-custom-cms-block/62193/7 "2021-09-23T08:43:58Z")

</div>

Would like to have an solution for this problem as well

---

<div class="post-metadata">

**Author:** ![jonas.joachim](https://avatars.discourse-cdn.com/v4/letter/j/e95f7d/32.png) [@jonas.joachim](https://forum.shopware.com/u/jonas.joachim)\
**Post date:** [19. Oktober 2021 um 03:16 UTC](https://forum.shopware.com/t/adding-a-custom-cms-block/62193/8 "2021-10-19T03:16:18Z")

</div>

„There problem is that there are no instructions to do /src/Resources/views/administration/index.html.twig“ this is certainly not the issue (as the filename is completely wrong and doesn’t fit the naming convention) and is somewhat solid evidence that you are not fully aware of the naming conventions of the folders/files.  
Why not just use the cloned working example and just change the names according to your use case?  
I’ve had a similar problem and in my case it was a „-text-“ declaration too much in the Vue.js namespace.
