# Theme (Plugin) nach installation aktivieren?

**URL:** https://forum.shopware.com/t/theme-plugin-nach-installation-aktivieren/52595
**Category:** Programmierung
**Created:** [25. April 2018 um 10:19 UTC](https://forum.shopware.com/t/theme-plugin-nach-installation-aktivieren/52595 "2018-04-25T10:19:06Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![langnickel](https://avatars.discourse-cdn.com/v4/letter/l/3ec8ea/32.png) [@langnickel](https://forum.shopware.com/u/langnickel)
#### Post date: [25. April 2018 um 10:19 UTC](https://forum.shopware.com/t/theme-plugin-nach-installation-aktivieren/52595/1 "2018-04-25T10:19:06Z")

</div>

Ich liefe per Plugin ein Theme aus. Wenn ich das Plugin nun installiere (oder aktualisiere) wird das aktive Theme vom Shop deaktiviert und es wird kein Theme gesetzt. Erst wenn ich per Backend im ThemeManager mein per Plugin bereitgestelltes Theme aktiviere (und kompiliere) funktioniert es wieder.

Nun meine Frage, wie kann ich im Plugin-Installations-Prozess (evtl per Nachfrage) mein Theme aktivieren?

---

<div class="post-metadata">

### Author: ![arnebecker](https://avatars.discourse-cdn.com/v4/letter/a/3bc359/32.png) [@arnebecker](https://forum.shopware.com/u/arnebecker)
#### Post date: [25. April 2018 um 10:31 UTC](https://forum.shopware.com/t/theme-plugin-nach-installation-aktivieren/52595/2 "2018-04-25T10:31:26Z")

</div>

Per Nachfrage geht wohl nicht. Aber aktivieren kannst es natürlich. Dafür kannst du dich am Theme Controller orientieren:&nbsp;[shopware/Theme.php at 5.4 · shopware/shopware · GitHub](https://github.com/shopware/shopware/blob/5.4/engine/Shopware/Controllers/Backend/Theme.php#L73)
