<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>NemoPS &#187; prestashop theme</title>
	<atom:link href="http://nemops.com/tag/prestashop-theme/feed/" rel="self" type="application/rss+xml" />
	<link>http://nemops.com</link>
	<description>Prestashop Tutorials, Modules and More!</description>
	<lastBuildDate>Wed, 05 Dec 2018 13:25:23 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.35</generator>
	<item>
		<title>How to add new Color Schemes to the Prestashop 1.6 Theme</title>
		<link>http://nemops.com/new-color-schemes-prestashop-16-theme/</link>
		<comments>http://nemops.com/new-color-schemes-prestashop-16-theme/#comments</comments>
		<pubDate>Tue, 08 Jul 2014 09:58:42 +0000</pubDate>
		<dc:creator><![CDATA[Nemo]]></dc:creator>
				<category><![CDATA[Theming]]></category>
		<category><![CDATA[color schemes]]></category>
		<category><![CDATA[free module]]></category>
		<category><![CDATA[prestashop 1.6]]></category>
		<category><![CDATA[prestashop theme]]></category>

		<guid isPermaLink="false">http://nemops.com/?p=2088</guid>
		<description><![CDATA[<p>The Prestashop 1.6 theme configurator comes with 8 built in color schemes. That said, it might be worth knowing how to add new ones, when needed! Let&#8217;s see how to do it manually, and also with the help of a free module I created. DOWNLOAD HERE &#8211; Prestashop Theme Extender module Prestashop 1.6 color schemes [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://nemops.com/new-color-schemes-prestashop-16-theme/">How to add new Color Schemes to the Prestashop 1.6 Theme</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>The Prestashop 1.6 theme configurator comes with 8 built in color schemes. That said, it might be worth knowing how to add new ones, when needed! Let&#8217;s see how to do it manually, and also with the help of a free module I created.</p>
<p><span id="more-2088"></span></p>
<p><a class="button style1" href="http://store.nemops.com/free-modules/37-themextender.html#.U7u6TPna6r0" title="Prestashop 1.6 theme extender module free">DOWNLOAD HERE &#8211;  Prestashop Theme Extender module</a></p>
<h2>Prestashop 1.6 color schemes structure</h2>
<p>As a first step, it is fundamental to understand the file structure of color schemes in Prestashop 1.6. They are not located in the default-bootstrap theme folder, as we might think, but come as part of the <strong>Theme Configurator</strong> module. Therefore, to locate all the default ones, we must reach out the <em>/css/</em> folder inside <em>/modules/themeconfigurator/</em>.</p>
<p>By default, it will contain one css file for each of the default fonts, and one for each of the color schemes. Notice that, if you want to use SASS, it worth having a look at the <em>/scss</em> folder instead, and create a ruby compiler in the main module&#8217;s folder, as it&#8217;s missing. In this tutorial we will be editing .css files anyway.</p>
<p>Before proceeding: color schemes are named theme# where # is a number, but notice number 1 is missing, and, for that reason, we have 8 themes, instead of 9.</p>
<div class="separator"></div>
<h2>Adding a new color scheme</h2>
<h3>The scheme&#8217;s file</h3>
<p>The easiest way to add a new color scheme is, of, course, to clone one of the existing ones. Therefore, grab the one you wish to use as a starting point (I will use theme9), clone and rename it <strong>theme10</strong>.</p>
<h3>The database entry: 2 routes</h3>
<p>Now that we have the file in place, we need the configurator to know it&#8217;s actually there. How to? If we inspect the source code, we will see it grabs the selectable variation from a serialized array, added to the database upon install:</p>
<pre class="brush: php; title: ; notranslate">
		$themes_colors = array(
			'theme1',
			'theme2',
			'theme3',
			'theme4',
			'theme5',
			'theme6',
			'theme7',
			'theme8',
			'theme9'
		);

		...
		!Configuration::updateValue('PS_TC_THEMES', serialize($themes_colors)) ||
		...
</pre>
<p>We are facing two routes at this point: we can manually edit the array, and reset the module so that the database entry is updated. Or, we can directly modify the serialized array. Please notice that this second way is risky, and if you edit it the wrong way, you will not be able to use the theme switcher unless you reinstall the theme configurator module. That said, resetting the module means losing all of the other customizations that might have been added, and I will therefore cover both methods.</p>
<p><strong>METHOD 1: Modifying the php file, and resetting the module</strong></p>
<p>Head over to <em>/modules/themeconfigurator/</em> and open <strong>themeconfigurator.php</strong>. Find the array mentioned above, and add the name of the .css file you cloned. In this case, theme10:</p>
<pre class="brush: php; title: ; notranslate">
		$themes_colors = array(
			'theme1',
			'theme2',
			'theme3',
			'theme4',
			'theme5',
			'theme6',
			'theme7',
			'theme8',
			'theme9',
			'theme10'
		);
</pre>
<p><a href="http://nemops.com/wp-content/uploads/2014/07/new_color_schemes_reset.jpg"><img src="http://nemops.com/wp-content/uploads/2014/07/new_color_schemes_reset.jpg" alt="How to add new Color Schemes to the Prestashop 1.6 Theme - Resetting the live configurator module" width="596" height="313" class="aligncenter size-full wp-image-2092" /></a></p>
<p>Save, login to the back office and hit <strong>Reset</strong> on the right hand side dropdown menu. <strong>Doing this will erase your current customizations and images added using this module!</strong> Therefore, make sure you have a backup, if you need them.</p>
<p><strong>METHOD 2: Manually editing the database entry</strong></p>
<p>Login to your database and reach the ps_configuration table (your prefix might be other than ps_). Look for the entry named <strong>PS_TC_THEMES</strong>, and click to modify it. At this point, the value column will look like this:</p>
<pre class="brush: php; title: ; notranslate">
a:9:{i:0;s:6:&quot;theme1&quot;;i:1;s:6:&quot;theme2&quot;;i:2;s:6:&quot;theme3&quot;;i:3;s:6:&quot;theme4&quot;;i:4;s:6:&quot;theme5&quot;;i:5;s:6:&quot;theme6&quot;;i:6;s:6:&quot;theme7&quot;;i:7;s:6:&quot;theme8&quot;;i:8;s:6:&quot;theme9&quot;;}
</pre>
<p>How does a serialized array works? It&#8217;s important to understand it, in order to avoid breaking serialization, making it impossible to use it later. <strong>a:9</strong> declares the size of the array. It contains 9 elements, so we need to change it to <strong>a:10</strong> as we are adding another one.</p>
<p>Then, let&#8217;s take a closer look at the last element:</p>
<pre class="brush: php; title: ; notranslate">
i:8;s:6:&quot;theme9&quot;;
</pre>
<p><strong>i:8</strong> represents the index of this entry, which is 8; <strong>s:6</strong> means it&#8217;s a 6-chars long string; <strong>&#8220;theme9&#8243;</strong> is the value of this array entry.</p>
<p><strong>Make sure to copy and save the original value somewhere, before modifying it!</strong></p>
<p>Now that we know it, we can add our new element after the last semicolon:</p>
<pre class="brush: php; title: ; notranslate">
i:9;s:7:&quot;theme10&quot;;
</pre>
<p><strong>Explanation:</strong> i:9 means that this element has 9 as index; s:7 indicates the length of it, as it&#8217;s one more character compared to the other ones, it needs to be 7, not 6. Lastly, the name of our file.</p>
<p>The final entry:</p>
<pre class="brush: php; title: ; notranslate">
a:10:{i:0;s:6:&quot;theme1&quot;;i:1;s:6:&quot;theme2&quot;;i:2;s:6:&quot;theme3&quot;;i:3;s:6:&quot;theme4&quot;;i:4;s:6:&quot;theme5&quot;;i:5;s:6:&quot;theme6&quot;;i:6;s:6:&quot;theme7&quot;;i:7;s:6:&quot;theme8&quot;;i:8;s:6:&quot;theme9&quot;;i:9;s:7:&quot;theme10&quot;;}
</pre>
<p>Once more, this is a risky procedure, so if you have doubts, you can follow method 1 instead!</p>
<div class="separator"></div>
<h2>Editing CSS files</h2>
<p>At this point, it&#8217;s time for some pure CSS fun! Click on the shop link from the back office to activate the live configurator, it should look like this:</p>
<p><a href="http://nemops.com/wp-content/uploads/2014/07/new_color_schemes_livecfg.jpg"><img src="http://nemops.com/wp-content/uploads/2014/07/new_color_schemes_livecfg.jpg" alt="How to add new Color Schemes to the Prestashop 1.6 Theme - Live Configurator" width="299" height="776" class="aligncenter size-full wp-image-2090" /></a></p>
<p>That last black entry is our new color scheme! Why is it dark? Because the color is (sadly) saved in a separate file: <em>/modules/themesconfigurator/css/</em><strong>live_configurator.css</strong>. It&#8217;s not strictly necessary to add it, but in case you want, locate the following:</p>
<pre class="brush: css; title: ; notranslate">
#tool_customization #color-box .theme9 .color1{
	border: 13px solid #f9f6ed;
}
#tool_customization #color-box .theme9 .color2{
	background: #eea200;
}

</pre>
<p>Clone these lines and rename them to match the new theme&#8217;s name, then change the color to something that will help you identify the new scheme (mine is an electric blue, leaving the lighter color as it was):</p>
<pre class="brush: css; title: ; notranslate">
#tool_customization #color-box .theme10 .color1{
	border: 13px solid #f9f6ed;
}
#tool_customization #color-box .theme10 .color2{
	background: #3982ef;
}

</pre>
<p>Then, open up the <strong>theme10.css</strong> file and start modifying colors! If you are happy to only change the main color, like in the example of the original theme9, #f9f6ed, locate all entries of it, and replace them with your hex.</p>
<p>Of course, a completely new world opens up now. It would be boring to go through all boxes and colors. Instead, as the current way is troublesome and might generate issues, let&#8217;s have a look at n easier (and FREE!) alternative to manual modifications, using a module I created!</p>
<div class="separator"></div>
<h2>Alternative method: Adding new color schemes using my Free Prestashop Theme Extender module</h2>
<p><a class="button style1" href="http://store.nemops.com/free-modules/37-themextender.html#.U7u6TPna6r0" title="Prestashop 1.6 theme extender module free">DOWNLOAD HERE &#8211;  Prestashop Theme Extender module</a></p>
<p><a href="http://nemops.com/wp-content/uploads/2014/07/new_color_schemes_module.jpg"><img src="http://nemops.com/wp-content/uploads/2014/07/new_color_schemes_module-680x482.jpg" alt="How to add new Color Schemes to the Prestashop 1.6 Theme - Prestashop Themextender Module" width="680" height="482" class="aligncenter size-large wp-image-2091" /></a></p>
<p>Adding new color schemes using this module is as simple as editing a .css file. Because that is all you need to do, of course! My suggestion is, once more, to use one of the default color schemes as a basis. Once you are done with modifications, simply grab my module, install it, choose your .css file, and, optionally main and secondary colors (they have the only purpose of helping you recognize the scheme in the live configurator). Then, click add. And you have the new color scheme!</p>
<p>THis way, there will be no need or resetting the live configurator module, nor doing any complex modification in the database, or to any .php files. And of course, <strong>it&#8217;s completely free!</strong></p>
<p>The post <a rel="nofollow" href="http://nemops.com/new-color-schemes-prestashop-16-theme/">How to add new Color Schemes to the Prestashop 1.6 Theme</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://nemops.com/new-color-schemes-prestashop-16-theme/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Prestashop 1.6 preview : New responsive Prestashop theme</title>
		<link>http://nemops.com/prestashop-1-6-new-prestashop-theme/</link>
		<comments>http://nemops.com/prestashop-1-6-new-prestashop-theme/#comments</comments>
		<pubDate>Mon, 28 Oct 2013 11:48:05 +0000</pubDate>
		<dc:creator><![CDATA[Nemo]]></dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[prestashop]]></category>
		<category><![CDATA[prestashop 1.6]]></category>
		<category><![CDATA[prestashop theme]]></category>

		<guid isPermaLink="false">http://nemops.com/?p=1663</guid>
		<description><![CDATA[<p>Here is, as promised, a second sneak peek to the upcoming Prestashop 1.6 version. In this video, we will see the new responsive prestashop theme and its functionalities. Watch The Screencast &#160;</p>
<p>The post <a rel="nofollow" href="http://nemops.com/prestashop-1-6-new-prestashop-theme/">Prestashop 1.6 preview : New responsive Prestashop theme</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Here is, as promised, a second sneak peek to the upcoming Prestashop 1.6 version. In this video, we will see the new responsive prestashop theme and its functionalities.</p>
<p><span id="more-1663"></span></p>
<h2>Watch The Screencast</h2>

	<div class="video-embed">
		<iframe width="640" height="360" src="http://www.youtube.com/embed/YLW5u9Qb0Og" frameborder="0" allowfullscreen></iframe><p><a href="https://www.youtube.com/user/NemoPostScriptum/videos" rel="nofollow" title="Subscribe Post Scriptum's Youtube Channel">Subscribe Post Scriptum's Youtube Channel</a></p>	</div>
<p>The post <a rel="nofollow" href="http://nemops.com/prestashop-1-6-new-prestashop-theme/">Prestashop 1.6 preview : New responsive Prestashop theme</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://nemops.com/prestashop-1-6-new-prestashop-theme/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
