# Theme Updates, without loosing ContentData

**URL:** <https://forum.mautic.org/t/theme-updates-without-loosing-contentdata/10347>\
**Category:** Ideas and Feature Requests\
**Created:** [March 15, 2018, 4:30am UTC](https://forum.mautic.org/t/theme-updates-without-loosing-contentdata/10347 "2018-03-15T04:30:53Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![olissongs](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/olissongs/32/1123_2.png) [@olissongs](https://forum.mautic.org/u/olissongs)\
**Post date:** [March 15, 2018, 4:30am UTC](https://forum.mautic.org/t/theme-updates-without-loosing-contentdata/10347/1 "2018-03-15T04:30:53Z")

</div>

Hi,  
input an issue to github for that, but it seems that this was wrong:  
[https://github.com/mautic/mautic/issues/5802](https://github.com/mautic/mautic/issues/5802)

Szenario:  
So my Use-Case was i copied an changed an existing theme (Blank, its great withe the Builder, but not realy responsiv), so in that workflow i create a version of myTheme upload it, create Content with the PageBuilder, tested it and some mistakes are in the HTML, so i improved myTheme, uploaded it an then the Problems came up

Problem  
no Updating own Themes is possible without loosing of existing content.

Solution  
Create a Button, update Theme which creates a new Mix of Theme+Content.  
Mayb be the Content must be stored, seperatly, like an xml-File. and the theme will be rendered with this content, like all php mvc-frameworks handel it, with php or twig.

Upgrade solution  
use bootstrap3/4 as default, so layout elements are then  
container - to be defined  
rows - like section in combination with column  
columns - like section in combination with row  
elements - slots elements like text, image etc

Layout Elements: Container, Rows, Columns with styling of position, floating, margin, padding, background color + image

Content Elements: Text, Image, etc. with styling position, floating, margin, padding, background color + image, element specific properties

So dropping table an change it to div for more responsivness. the structure is similar useds in clickfunnels.

---

<div class="post-metadata">

**Author:** ![Huckleberry](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/huckleberry/32/535_2.png) [@Huckleberry](https://forum.mautic.org/u/Huckleberry)\
**Post date:** [October 26, 2018, 8:11am UTC](https://forum.mautic.org/t/theme-updates-without-loosing-contentdata/10347/2 "2018-10-26T08:11:01Z")

</div>

+1 for this. The only reliable way to currently update a theme and have those updates apply to existing Pages/Emails that use it is to go directly into the database and update the HTML code. It’s stored in a DB column when you create the email and doesn’t update the theme TWIG HTML if it changes. A button that can force it to redo the HTML—or better yet auto-detect changes and auto-update in the DB would be superb.

---

<div class="post-metadata">

**Author:** ![alajka](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/alajka/32/1298_2.png) [@alajka](https://forum.mautic.org/u/alajka)\
**Post date:** [October 28, 2021, 3:06pm UTC](https://forum.mautic.org/t/theme-updates-without-loosing-contentdata/10347/3 "2021-10-28T15:06:37Z")

</div>

+2 for this. An automatic DB update of the theme code if a newer version is detected would be awesome!

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [November 10, 2025, 1:55pm UTC](https://forum.mautic.org/t/theme-updates-without-loosing-contentdata/10347/4 "2025-11-10T13:55:35Z")

</div>

@Madlen I came across this old post in the ideas forum, and I think your theme switcher plugin which you demonstrated at the Mautic World Conference solves this problem, no?

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [November 11, 2025, 8:59am UTC](https://forum.mautic.org/t/theme-updates-without-loosing-contentdata/10347/5 "2025-11-11T08:59:40Z")

</div>

Hi,

This restriction used to be very important when we had the previous builder where all content blocks were template specific.

In today’s builder we don’t have this restriction. The design won’t be broken.

In fact the main function of the template is managing the unsubscription page. So the warning should be like “by chaging the template all template specific settings will be applied, like unsubscribe page and hardcoded design elements”.

Joey

---

<div class="post-metadata">

**Author:** ![Madlen](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/madlen/32/15300_2.png) [@Madlen](https://forum.mautic.org/u/Madlen)\
**Post date:** [November 14, 2025, 1:06pm UTC](https://forum.mautic.org/t/theme-updates-without-loosing-contentdata/10347/6 "2025-11-14T13:06:46Z")

</div>

Thanks for the mention, Ruth. However, our bundle only works for emails with mjml (as of today).
