<?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: How to add new sidebox in Zencart</title>
	<atom:link href="http://www.imranulhoque.com/zencart/how-to-add-new-sidebox-in-zencart/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.imranulhoque.com/zencart/how-to-add-new-sidebox-in-zencart/</link>
	<description></description>
	<lastBuildDate>Fri, 03 Feb 2012 12:09:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Igor</title>
		<link>http://www.imranulhoque.com/zencart/how-to-add-new-sidebox-in-zencart/comment-page-1/#comment-5580</link>
		<dc:creator>Igor</dc:creator>
		<pubDate>Thu, 09 Dec 2010 01:56:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.imranulhoque.com/?p=44#comment-5580</guid>
		<description>Hi Imran,

Thank you for your suggestion!

Unfortunately the code, if it is put in this way, is not working. I already tried that and as the result the entire colon had disappeared.
The problem is the code is not being passed through.
I don&#039;t know why. The code itself work fine if I include it in any page using the Define Pages Editor but stops working in the sidebox.
I think the more likely problem is that at some point the code is wrongly interpreted by ZenCart software or PHP. It could be a simple syntax error.

P.S. I pasted in the correct Google code but your blog&#039;s software &quot;cleared&quot; the code. 

Please help if you have more ideas.

Regards,
Igor</description>
		<content:encoded><![CDATA[<p>Hi Imran,</p>
<p>Thank you for your suggestion!</p>
<p>Unfortunately the code, if it is put in this way, is not working. I already tried that and as the result the entire colon had disappeared.<br />
The problem is the code is not being passed through.<br />
I don&#8217;t know why. The code itself work fine if I include it in any page using the Define Pages Editor but stops working in the sidebox.<br />
I think the more likely problem is that at some point the code is wrongly interpreted by ZenCart software or PHP. It could be a simple syntax error.</p>
<p>P.S. I pasted in the correct Google code but your blog&#8217;s software &#8220;cleared&#8221; the code. </p>
<p>Please help if you have more ideas.</p>
<p>Regards,<br />
Igor</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Imran</title>
		<link>http://www.imranulhoque.com/zencart/how-to-add-new-sidebox-in-zencart/comment-page-1/#comment-5579</link>
		<dc:creator>Imran</dc:creator>
		<pubDate>Wed, 08 Dec 2010 10:05:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.imranulhoque.com/?p=44#comment-5579</guid>
		<description>Hi Igor,

I think you are missing the last line of the google code. 

&lt;script src=&quot;//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit&quot;&gt;&lt;/script&gt;

Following is the full code you need to enter into the tpl_googlead.php file:

&lt;?php

  $content = &quot;&quot;;
  $content .= &quot;&lt;div id=\&quot;google_translate_element\&quot;&gt;&lt;script&gt; function googleTranslateElementInit() {
                  new google.translate.TranslateElement({
                  pageLanguage: &#039;en&#039;
                  }, &#039;google_translate_element&#039;);
                }&lt;/script&gt;
                &lt;script src=\&quot;https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit\&quot;&gt;&lt;/script&gt;&lt;/div&gt;&quot;;

?&gt;</description>
		<content:encoded><![CDATA[<p>Hi Igor,</p>
<p>I think you are missing the last line of the google code. </p>
<p>&lt;script src=&#8221;//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit&#8221;&gt;&lt;/script&gt;</p>
<p>Following is the full code you need to enter into the tpl_googlead.php file:</p>
<p>&lt;?php</p>
<p>  $content = &#8220;&#8221;;<br />
  $content .= &#8220;&lt;div id=\&#8221;google_translate_element\&#8221;&gt;&lt;script&gt; function googleTranslateElementInit() {<br />
                  new google.translate.TranslateElement({<br />
                  pageLanguage: &#8216;en&#8217;<br />
                  }, &#8216;google_translate_element&#8217;);<br />
                }&lt;/script&gt;<br />
                &lt;script src=\&#8221;https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit\&#8221;&gt;&lt;/script&gt;&lt;/div&gt;&#8221;;</p>
<p>?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Igor</title>
		<link>http://www.imranulhoque.com/zencart/how-to-add-new-sidebox-in-zencart/comment-page-1/#comment-5578</link>
		<dc:creator>Igor</dc:creator>
		<pubDate>Wed, 08 Dec 2010 02:05:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.imranulhoque.com/?p=44#comment-5578</guid>
		<description>Hi Imran,

Thank you for the tips!
I used your guide to add my own box to my Zen Cart.
The box works fine and I can put a simple text in.
But my attempt to run Google translate widget failed.
I am not a programmer so probably I did some silly mistakes in the code.
Could you help with coding /YOUR_TEMPLATE/sideboxes/tpl_googlead.php file?

The Google translate widget code:

function googleTranslateElementInit() {
  new google.translate.TranslateElement({
    pageLanguage: &#039;en&#039;
  }, &#039;google_translate_element&#039;);
}


What code should I put in tpl_googlead.php file?
Please help!

Thank you!</description>
		<content:encoded><![CDATA[<p>Hi Imran,</p>
<p>Thank you for the tips!<br />
I used your guide to add my own box to my Zen Cart.<br />
The box works fine and I can put a simple text in.<br />
But my attempt to run Google translate widget failed.<br />
I am not a programmer so probably I did some silly mistakes in the code.<br />
Could you help with coding /YOUR_TEMPLATE/sideboxes/tpl_googlead.php file?</p>
<p>The Google translate widget code:</p>
<p>function googleTranslateElementInit() {<br />
  new google.translate.TranslateElement({<br />
    pageLanguage: &#8216;en&#8217;<br />
  }, &#8216;google_translate_element&#8217;);<br />
}</p>
<p>What code should I put in tpl_googlead.php file?<br />
Please help!</p>
<p>Thank you!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

