# When you add a CMS Element how is the data stored in db and passed to twig?

**URL:** https://forum.shopware.com/t/when-you-add-a-cms-element-how-is-the-data-stored-in-db-and-passed-to-twig/101728
**Category:** Programming (EN)
**Tags:** administration, twig
**Created:** [27. Oktober 2023 um 21:46 UTC](https://forum.shopware.com/t/when-you-add-a-cms-element-how-is-the-data-stored-in-db-and-passed-to-twig/101728 "2023-10-27T21:46:01Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![rarem38474](https://avatars.discourse-cdn.com/v4/letter/r/97f17d/32.png) [@rarem38474](https://forum.shopware.com/u/rarem38474)
#### Post date: [27. Oktober 2023 um 21:46 UTC](https://forum.shopware.com/t/when-you-add-a-cms-element-how-is-the-data-stored-in-db-and-passed-to-twig/101728/1 "2023-10-27T21:46:01Z")

</div>

So lets say you define a url you make the config with vue for the administration and then you implement the storefront version. How is the data passed to twig from the administration it has to send some sort of post request is there a document where this is explained or some similar ressource?

Thanks in advance

---

<div class="post-metadata">

### Author: ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)
#### Post date: [28. Oktober 2023 um 06:55 UTC](https://forum.shopware.com/t/when-you-add-a-cms-element-how-is-the-data-stored-in-db-and-passed-to-twig/101728/2 "2023-10-28T06:55:34Z")

</div>

> **[Add Data to CMS Element | Shopware Documentation](https://developer.shopware.com/docs/guides/plugins/plugins/content/cms/add-data-to-cms-elements.html)**
>
> Documentation for Shopware developers

---

<div class="post-metadata">

### Author: ![system](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/2/9/29c7587ba660f00e4995d1743162782e5d6d8653.svg) [@system](https://forum.shopware.com/u/system)
#### Post date: [27. November 2023 um 06:56 UTC](https://forum.shopware.com/t/when-you-add-a-cms-element-how-is-the-data-stored-in-db-and-passed-to-twig/101728/3 "2023-11-27T06:56:07Z")

</div>

Dieses Thema wurde automatisch 30 Tage nach der letzten Antwort geschlossen. Es sind keine neuen Antworten mehr erlaubt.
