# Creating a custom theme based on the Bare theme

**URL:** <https://forum.shopware.com/t/creating-a-custom-theme-based-on-the-bare-theme/32826>\
**Category:** Shopware 3.5\
**Tags:** general\
**Created:** [7. Dezember 2015 um 15:26 UTC](https://forum.shopware.com/t/creating-a-custom-theme-based-on-the-bare-theme/32826 "2015-12-07T15:26:18Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanders](https://avatars.discourse-cdn.com/v4/letter/s/bc79bd/32.png) [@sanders](https://forum.shopware.com/u/sanders)\
**Post date:** [7. Dezember 2015 um 15:26 UTC](https://forum.shopware.com/t/creating-a-custom-theme-based-on-the-bare-theme/32826/1 "2015-12-07T15:26:18Z")

</div>

Hi, I’m trying to create my own theme with the Bare theme as a base, but I wan’t some of the plugin features from the Responsive theme. For example the plugin-base / emotion / shopware-responsive. I also use some community plugins (advanced menu) which requires jQuery to work. I already found out I have to load jQuery before the theme.php javascript array for the community plugins to work, otherwise jQuery is initiated to late. But now I get the following error while i’m on the homepage with Storytelling: `Uncaught TypeError: element[pluginName] is not a function - jquery.state-manager.js` This is my footer code in the index.tpl: `<script type="text/javascript" src="/themes/Frontend/Playground/frontend/_public/vendors/js/jquery/jquery.min.js"></script><script type="text/javascript" src="/themes/Frontend/Playground/frontend/_public/src/js/jquery.state-manager.js"></script><script type="text/javascript" src="/themes/Frontend/Playground/frontend/_public/src/js/jquery.plugin-base.js"></script><script type="text/javascript" src="/themes/Frontend/Playground/frontend/_public/src/js/jquery.storage-manager.js"></script>{\* Include jQuery and all other javascript files at the bottom of the page \*} {block name="frontend\_index\_header\_javascript\_jquery\_lib"} {compileJavascript timestamp={themeTimestamp} output="javascriptFiles"} {foreach $javascriptFiles as $file} <script src="%7B%24file%7D"></script> {/foreach} {/block}` Does anyone else have experience with setting up a custom theme based on the Bare theme and Storytelling?

---

<div class="post-metadata">

**Author:** ![sanders](https://avatars.discourse-cdn.com/v4/letter/s/bc79bd/32.png) [@sanders](https://forum.shopware.com/u/sanders)\
**Post date:** [11. Dezember 2015 um 14:52 UTC](https://forum.shopware.com/t/creating-a-custom-theme-based-on-the-bare-theme/32826/2 "2015-12-11T14:52:20Z")

</div>

Bumping threat, hoping someone can help me. 😢

---

<div class="post-metadata">

**Author:** ![Shopwareianer](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@Shopwareianer](https://forum.shopware.com/u/Shopwareianer)\
**Post date:** [11. Dezember 2015 um 15:07 UTC](https://forum.shopware.com/t/creating-a-custom-theme-based-on-the-bare-theme/32826/3 "2015-12-11T15:07:45Z")

</div>

Are you sure the files are loaded especially jquery? by the way: Here are the jQuery Files which are compiled from the responsive theme: [https://github.com/shopware/shopware/bl … p#L50-L107](https://github.com/shopware/shopware/blob/5.1/themes/Frontend/Responsive/Theme.php#L50-L107) Maybe it is because you have the wrong order - from the responsive theme the order of the files is: `'src/js/jquery.ie-fixes.js', 'src/js/jquery.plugin-base.js', 'src/js/jquery.state-manager.js', 'src/js/jquery.storage-manager.js',` So plugin-base first and then the state manager.

---

<div class="post-metadata">

**Author:** ![sanders](https://avatars.discourse-cdn.com/v4/letter/s/bc79bd/32.png) [@sanders](https://forum.shopware.com/u/sanders)\
**Post date:** [11. Dezember 2015 um 15:16 UTC](https://forum.shopware.com/t/creating-a-custom-theme-based-on-the-bare-theme/32826/4 "2015-12-11T15:16:21Z")

</div>

Hi Kayyy, Thanks for your reply. I had it in that order first, and then I tried this but both had the same results. I also tried it the way the Responsive theme does using the Theme.php Javascript Array, but then when I use plugins like „Advanced Menu“ the plugin script is loaded before the Theme.php scripts. (someone on the IRC chat told me that). Any other suggestions, or is it simply impossible to create your own there based on bare with the use of responsive plugins and Shopware plugins?

---

<div class="post-metadata">

**Author:** ![Shopwareianer](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@Shopwareianer](https://forum.shopware.com/u/Shopwareianer)\
**Post date:** [11. Dezember 2015 um 15:36 UTC](https://forum.shopware.com/t/creating-a-custom-theme-based-on-the-bare-theme/32826/5 "2015-12-11T15:36:46Z")

</div>

didn`t tried it yet with the bare theme, do you have an url of your test theme so we can take a look at this?

---

<div class="post-metadata">

**Author:** ![sanders](https://avatars.discourse-cdn.com/v4/letter/s/bc79bd/32.png) [@sanders](https://forum.shopware.com/u/sanders)\
**Post date:** [11. Dezember 2015 um 15:38 UTC](https://forum.shopware.com/t/creating-a-custom-theme-based-on-the-bare-theme/32826/6 "2015-12-11T15:38:49Z")

</div>

I’m afraid not, currently I’m developing locally with Wamp Server.

---

<div class="post-metadata">

**Author:** ![Misengo](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/misengo/32/21446_2.png) [@Misengo](https://forum.shopware.com/u/Misengo)\
**Post date:** [30. Dezember 2015 um 10:13 UTC](https://forum.shopware.com/t/creating-a-custom-theme-based-on-the-bare-theme/32826/7 "2015-12-30T10:13:01Z")

</div>

[quote=“sanders”]I’m afraid not, currently I’m developing locally with Wamp Server.[/quote] Any Results yet?

---

<div class="post-metadata">

**Author:** ![sanders](https://avatars.discourse-cdn.com/v4/letter/s/bc79bd/32.png) [@sanders](https://forum.shopware.com/u/sanders)\
**Post date:** [4. Januar 2016 um 09:08 UTC](https://forum.shopware.com/t/creating-a-custom-theme-based-on-the-bare-theme/32826/8 "2016-01-04T09:08:16Z")

</div>

No for the time being I stopped developing my own theme based on the Bare files. Sadly I didn’t get any feedback on a possible workaround.
