<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Categories for homepage &#8211; Free Prestashop Module</title>
	<atom:link href="http://www.sailboatvn.com/e-commerce/categories-for-homepage-free-prestashop-module/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sailboatvn.com/e-commerce/categories-for-homepage-free-prestashop-module/</link>
	<description>Inspiration of PHP, XHTML, jQuery, CSS, SEO and online marketing</description>
	<lastBuildDate>Wed, 28 Dec 2011 12:17:46 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<item>
		<title>By: Johan</title>
		<link>http://www.sailboatvn.com/e-commerce/categories-for-homepage-free-prestashop-module/comment-page-1/#comment-3025</link>
		<dc:creator>Johan</dc:creator>
		<pubDate>Mon, 31 Oct 2011 04:14:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.sailboatvn.com/?p=430#comment-3025</guid>
		<description>Hi all,

This is probably a good module but:
1. Actually it is NOT free: when we follow the likns to download it we see that it costs £1.19 tax incl.
2. Nobody tells if it is compatible with last recent Prestashop 1.4+ such as 1.4.5.1...

So I won&#039;t risk any penny for a module that I don&#039;t know if it still works and if it is still supported.

Regards,
Johan</description>
		<content:encoded><![CDATA[<p>Hi all,</p>
<p>This is probably a good module but:<br />
1. Actually it is NOT free: when we follow the likns to download it we see that it costs £1.19 tax incl.<br />
2. Nobody tells if it is compatible with last recent Prestashop 1.4+ such as 1.4.5.1&#8230;</p>
<p>So I won&#8217;t risk any penny for a module that I don&#8217;t know if it still works and if it is still supported.</p>
<p>Regards,<br />
Johan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Csaba</title>
		<link>http://www.sailboatvn.com/e-commerce/categories-for-homepage-free-prestashop-module/comment-page-1/#comment-2892</link>
		<dc:creator>Csaba</dc:creator>
		<pubDate>Fri, 02 Sep 2011 11:10:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.sailboatvn.com/?p=430#comment-2892</guid>
		<description>If you want to use it with multiple languages, you have to modify the hookHome function in /modules/homecategories/homecategories.php file:

function hookHome($params)
{
	global $smarty;	
	$category = new Category(1);
	$subCategories = $category-&gt;getSubCategories( (int)$params[&#039;cookie&#039;]-&gt;id_lang );
	$nb = intval(Configuration::get(&#039;HOME_categories_NBR&#039;));		
	$smarty-&gt;assign(array( &#039;categoryHome&#039; =&gt; $subCategories ));
	return $this-&gt;display(__FILE__, &#039;homecategories.tpl&#039;);
}

The main modification is in this line:
$subCategories = $category-&gt;getSubCategories( &lt;strong&gt;(int)$params[&#039;cookie&#039;]-&gt;id_lang &lt;/strong&gt; );</description>
		<content:encoded><![CDATA[<p>If you want to use it with multiple languages, you have to modify the hookHome function in /modules/homecategories/homecategories.php file:</p>
<p>function hookHome($params)<br />
{<br />
	global $smarty;<br />
	$category = new Category(1);<br />
	$subCategories = $category-&gt;getSubCategories( (int)$params['cookie']-&gt;id_lang );<br />
	$nb = intval(Configuration::get(&#8216;HOME_categories_NBR&#8217;));<br />
	$smarty-&gt;assign(array( &#8216;categoryHome&#8217; =&gt; $subCategories ));<br />
	return $this-&gt;display(__FILE__, &#8216;homecategories.tpl&#8217;);<br />
}</p>
<p>The main modification is in this line:<br />
$subCategories = $category-&gt;getSubCategories( <strong>(int)$params['cookie']-&gt;id_lang </strong> );</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xkorp</title>
		<link>http://www.sailboatvn.com/e-commerce/categories-for-homepage-free-prestashop-module/comment-page-1/#comment-2841</link>
		<dc:creator>Xkorp</dc:creator>
		<pubDate>Tue, 21 Jun 2011 17:05:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.sailboatvn.com/?p=430#comment-2841</guid>
		<description>I have the same problem as Irene. The category&#039;s names are in english always, and I have 2 languages in the web...I don&#039;t know how to solve it! Can you please give me some advice?? Thanks :-)</description>
		<content:encoded><![CDATA[<p>I have the same problem as Irene. The category&#8217;s names are in english always, and I have 2 languages in the web&#8230;I don&#8217;t know how to solve it! Can you please give me some advice?? Thanks :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mustafa</title>
		<link>http://www.sailboatvn.com/e-commerce/categories-for-homepage-free-prestashop-module/comment-page-1/#comment-2837</link>
		<dc:creator>Mustafa</dc:creator>
		<pubDate>Wed, 08 Jun 2011 17:04:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.sailboatvn.com/?p=430#comment-2837</guid>
		<description>Hello, thanks for the great feature.
But is it possible to show the main categories in gridview and not in as a list.
I want 3 or 4 categories on one row and the next on the second row.
Thanks, gr. Mustafa.</description>
		<content:encoded><![CDATA[<p>Hello, thanks for the great feature.<br />
But is it possible to show the main categories in gridview and not in as a list.<br />
I want 3 or 4 categories on one row and the next on the second row.<br />
Thanks, gr. Mustafa.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Irene</title>
		<link>http://www.sailboatvn.com/e-commerce/categories-for-homepage-free-prestashop-module/comment-page-1/#comment-2550</link>
		<dc:creator>Irene</dc:creator>
		<pubDate>Thu, 17 Mar 2011 09:28:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.sailboatvn.com/?p=430#comment-2550</guid>
		<description>Hi!!
I´ve got a problem: my store is in 3 languages, and my default language is spanish. The problem is that when my store is in spanish my product´s names are in spanish but my category´s names are in english, can you resolve this problem???
Thank you very much in advanced

Irene</description>
		<content:encoded><![CDATA[<p>Hi!!<br />
I´ve got a problem: my store is in 3 languages, and my default language is spanish. The problem is that when my store is in spanish my product´s names are in spanish but my category´s names are in english, can you resolve this problem???<br />
Thank you very much in advanced</p>
<p>Irene</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastian</title>
		<link>http://www.sailboatvn.com/e-commerce/categories-for-homepage-free-prestashop-module/comment-page-1/#comment-1059</link>
		<dc:creator>Sebastian</dc:creator>
		<pubDate>Thu, 25 Nov 2010 00:42:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.sailboatvn.com/?p=430#comment-1059</guid>
		<description>forgot the php bit below

chmod(&quot;homecategories/homecategories.tpl&quot;, 0775);</description>
		<content:encoded><![CDATA[<p>forgot the php bit below</p>
<p>chmod(&#8220;homecategories/homecategories.tpl&#8221;, 0775);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastian</title>
		<link>http://www.sailboatvn.com/e-commerce/categories-for-homepage-free-prestashop-module/comment-page-1/#comment-1058</link>
		<dc:creator>Sebastian</dc:creator>
		<pubDate>Thu, 25 Nov 2010 00:40:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.sailboatvn.com/?p=430#comment-1058</guid>
		<description>Hey

If your categories images don&#039;t display, try modifying the homecategories.tpl file by changing &quot;category-on-home&quot; to &quot;category&quot; in the following line 12:

getCatImageLink($category.link_rewrite, $category.id_image,&#039;category-on-home&#039;)}&quot; alt=&quot;{$category.name&#124;escape:&#039;htmlall&#039;:&#039;UTF-8&#039;}&quot; /&gt;

I found this by looking at what HTML output the homepage has and comparing the image name with the actual image name on the server.
I also had some problems actually editing the file because chmod for this file was 644 and I could not edit it. I used this bit of code in a php file saved in the /modules/ directory.



be sure to set chmod back to 0644 afterwards.

Hope this helps.

Live long and prosper




Hope this helps</description>
		<content:encoded><![CDATA[<p>Hey</p>
<p>If your categories images don&#8217;t display, try modifying the homecategories.tpl file by changing &#8220;category-on-home&#8221; to &#8220;category&#8221; in the following line 12:</p>
<p>getCatImageLink($category.link_rewrite, $category.id_image,&#8217;category-on-home&#8217;)}&#8221; alt=&#8221;{$category.name|escape:&#8217;htmlall&#8217;:'UTF-8&#8242;}&#8221; /></p>
<p>I found this by looking at what HTML output the homepage has and comparing the image name with the actual image name on the server.<br />
I also had some problems actually editing the file because chmod for this file was 644 and I could not edit it. I used this bit of code in a php file saved in the /modules/ directory.</p>
<p>be sure to set chmod back to 0644 afterwards.</p>
<p>Hope this helps.</p>
<p>Live long and prosper</p>
<p>Hope this helps</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lew</title>
		<link>http://www.sailboatvn.com/e-commerce/categories-for-homepage-free-prestashop-module/comment-page-1/#comment-1056</link>
		<dc:creator>lew</dc:creator>
		<pubDate>Fri, 19 Nov 2010 15:49:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.sailboatvn.com/?p=430#comment-1056</guid>
		<description>I&#039;m having the same problem, the category imahes arent being picked up. Was this ever resolved?

Many thanks</description>
		<content:encoded><![CDATA[<p>I&#8217;m having the same problem, the category imahes arent being picked up. Was this ever resolved?</p>
<p>Many thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Barry Walsh</title>
		<link>http://www.sailboatvn.com/e-commerce/categories-for-homepage-free-prestashop-module/comment-page-1/#comment-753</link>
		<dc:creator>Barry Walsh</dc:creator>
		<pubDate>Tue, 09 Mar 2010 13:47:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.sailboatvn.com/?p=430#comment-753</guid>
		<description>Great module but I have one problem, the images aren&#039;t appearing. Any idea how I can fix this? Thanks</description>
		<content:encoded><![CDATA[<p>Great module but I have one problem, the images aren&#8217;t appearing. Any idea how I can fix this? Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (User agent is rejected)
Database Caching 31/66 queries in 0.061 seconds using disk

Served from: www.sailboatvn.com @ 2012-02-07 17:57:19 -->
