<?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>Delighted Stupid Wind &#124; Empire Illusion &#187; sidebox</title>
	<atom:link href="http://www.dswei.com/tag/sidebox/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dswei.com</link>
	<description>Dreamland of Business, On the Way</description>
	<lastBuildDate>Sat, 13 Aug 2011 22:17:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>An easy way to add a sidebox for zencart</title>
		<link>http://www.dswei.com/2009/11/an-easy-way-to-add-a-sidebox-for-zencart/</link>
		<comments>http://www.dswei.com/2009/11/an-easy-way-to-add-a-sidebox-for-zencart/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 10:29:04 +0000</pubDate>
		<dc:creator>Kent</dc:creator>
				<category><![CDATA[Zencart]]></category>
		<category><![CDATA[sidebox]]></category>

		<guid isPermaLink="false">http://www.dswei.com/?p=176</guid>
		<description><![CDATA[Last time we talked about how to add a  sidexbox using some php code, but it seems still a little hard for some people, so today I&#8217;ll introduct another way to add a sidebox for zencart.
First download the free addon from zencart which named Blank Sidebox, you can download here.
It&#8217;s so easy that you just [...]]]></description>
			<content:encoded><![CDATA[<p>Last time we talked about<a href="http://www.dswei.com/2009/11/how-to-add-a-sidebox-to-zen-cart/"> how to add a  sidexbox</a> using some php code, but it seems still a little hard for some people, so today I&#8217;ll introduct another way to add a sidebox for <span class='bm_keywordlink'><a href="http://www.dswei.com/category/internet/zencart/">zencart</a></span>.</p>
<p>First download the free addon from <span class='bm_keywordlink'><a href="http://www.dswei.com/category/internet/zencart/">zencart</a></span> which named <a href="http://www.zen-cart.com/index.php?main_page=product_contrib_info&amp;products_id=174">Blank Sidebox, you can download here</a>.</p>
<p>It&#8217;s so easy that you just upload everything, and it&#8217;s done.</p>
<p>the only thing you need to change is in the file of the template folder, tpl_blank_sidebox.php.</p>
<p>change it to be what you want, and it&#8217;s done.</p>
<p>One thing to mention is taking care of your code, even one more blank is missing and you <span class='bm_keywordlink'><a href="http://www.dswei.com/category/internet/zencart/">zencart</a></span> will get problems</p>
<h4>Incoming search terms for the article:</h4><ul><li><a href="http://www.dswei.com/2009/11/an-easy-way-to-add-a-sidebox-for-zencart/" title="zen cart blank sidebox">zen cart blank sidebox</a></li><li><a href="http://www.dswei.com/2009/11/an-easy-way-to-add-a-sidebox-for-zencart/" title="hp zeen root">hp zeen root</a></li><li><a href="http://www.dswei.com/2009/11/an-easy-way-to-add-a-sidebox-for-zencart/" title="Zen Cart add image content to sidebox">Zen Cart add image content to sidebox</a></li><li><a href="http://www.dswei.com/2009/11/an-easy-way-to-add-a-sidebox-for-zencart/" title="sidebox blank zen cart">sidebox blank zen cart</a></li><li><a href="http://www.dswei.com/2009/11/an-easy-way-to-add-a-sidebox-for-zencart/" title="zen cart download credit card sidebox addon">zen cart download credit card sidebox addon</a></li><li><a href="http://www.dswei.com/2009/11/an-easy-way-to-add-a-sidebox-for-zencart/" title="how to add blank sidebox in zen cart">how to add blank sidebox in zen cart</a></li><li><a href="http://www.dswei.com/2009/11/an-easy-way-to-add-a-sidebox-for-zencart/" title="blank sidebox download zen cart">blank sidebox download zen cart</a></li><li><a href="http://www.dswei.com/2009/11/an-easy-way-to-add-a-sidebox-for-zencart/" title="single sidebox zen cart problem showing">single sidebox zen cart problem showing</a></li><li><a href="http://www.dswei.com/2009/11/an-easy-way-to-add-a-sidebox-for-zencart/" title="torrent e-start your web store with zen cart 2nd edition">torrent e-start your web store with zen cart 2nd edition</a></li><li><a href="http://www.dswei.com/2009/11/an-easy-way-to-add-a-sidebox-for-zencart/" title="which file to add image blank sidebox zen cart">which file to add image blank sidebox zen cart</a></li></ul><!-- SEO SearchTerms Tagging 2 plugin took 1.134 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.dswei.com/2009/11/an-easy-way-to-add-a-sidebox-for-zencart/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Add a Sidebox to Zen Cart</title>
		<link>http://www.dswei.com/2009/11/how-to-add-a-sidebox-to-zen-cart/</link>
		<comments>http://www.dswei.com/2009/11/how-to-add-a-sidebox-to-zen-cart/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 19:09:21 +0000</pubDate>
		<dc:creator>Kent</dc:creator>
				<category><![CDATA[Zencart]]></category>
		<category><![CDATA[sidebox]]></category>
		<category><![CDATA[zen-cart]]></category>

		<guid isPermaLink="false">http://www.dswei.com/?p=170</guid>
		<description><![CDATA[A Zen Cart sidebox is what displays various items in the side columns of your Zen Cart store.There are already so many sideboxes in zencart, like category, like user reviews, like search, but sometimes we need more functions to customize, so we have to add the new sidebox to zencart.
but as you konw, zen cart [...]]]></description>
			<content:encoded><![CDATA[<p>A Zen Cart sidebox is what displays various items in the side columns of your Zen Cart store.There are already so many sideboxes in <span class='bm_keywordlink'><a href="http://www.dswei.com/category/internet/zencart/">zencart</a></span>, like category, like user reviews, like search, but sometimes we need more functions to customize, so we have to add the new sidebox to <span class='bm_keywordlink'><a href="http://www.dswei.com/category/internet/zencart/">zencart</a></span>.</p>
<p>but as you konw, zen cart is php developed, it&#8217;s not easy to find the way to add it in the control panel for a zen cart new learner as me, so I prepare you a tutorial way to add a new sidebox, here you go.</p>
<p><strong>1, Create Sidebox Template:</strong>Add a new file to the server in the following directory: zen-cart-root/includes/templates/template-name/sideboxes/. You should name the file something relating to the contents of the sidebox. In this example we will be adding a welcome message sidebox so we might name the file tpl_welcome.php. The contents of the file will include what you want to display in the box and will be in a $content variable. Below is an example of the contents of the file if you wanted it to just display a message like “Welcome to my store”.</p>
<pre>
<div class="dp-highlighter">
<div class="alt" style="width: 417px;"><span>&lt;?php </span></div>
<div style="width: 417px;"><span class="comment">/**</span></div>
<div class="alt" style="width: 417px;"><span class="comment">* Side Box Template</span></div>
<div style="width: 417px;"><span class="comment">*</span></div>
<div class="alt" style="width: 417px;"><span class="comment">*/</span><span> </span></div>
<div style="width: 417px;"><span class="vars">$content</span><span> = </span><span class="string">'Welcome to my store.'</span><span>; </span></div>
<div class="alt" style="width: 417px;">?&gt;</div>
</div>
</pre>
<p><strong>2,</strong><strong>Create Sidebox:</strong>Now we want to add the actual sidebox which goes into the following directory: /zen-cart-root/includes/modules/sideboxes. Again name the file something relating to the contents of the sidebox which in this case will be welcome.php. The contents of this file will look something like the below so just modify the variables that relate to your template.</p>
<div class="alt" style="width: 461px;"><span>&lt;?php </span></div>
<div style="width: 461px;"><span class="comment">/**</span></div>
<div class="alt" style="width: 461px;"><span class="comment">* welcome sidebox - used to display a welcome message in a sidebox</span></div>
<div style="width: 461px;"><span class="comment">*</span></div>
<div class="alt" style="width: 461px;"><span class="comment">*/</span><span>// test </span><span class="keyword">if</span><span> box should display </span></div>
<div style="width: 461px;"><span class="vars">$show_welcome</span><span> = true;</span><span class="keyword">if</span><span> (</span><span class="vars">$show_welcome</span><span> == true) {</span><span class="keyword">require</span><span>(</span><span class="vars">$template</span><span>-&gt;get_template_dir(</span><span class="string">&#8216;tpl_welcome.php&#8217;</span><span>,DIR_WS_TEMPLATE, </span><span class="vars">$current_page_base</span><span>,</span><span class="string">&#8217;sideboxes&#8217;</span><span>). </span><span class="string">&#8216;/tpl_welcome.php&#8217;</span><span>);</span></div>
<div style="width: 461px;"><span class="vars">$title</span><span> = BOX_HEADING_WELCOME; </span></div>
<div class="alt" style="width: 461px;"><span class="vars">$title_link</span><span> = false; </span></div>
<div style="width: 461px;"><span class="keyword">require</span><span>(</span><span class="vars">$template</span><span>-&gt;get_template_dir(</span><span class="vars">$column_box_default</span><span>, DIR_WS_TEMPLATE, </span><span class="vars">$current_page_base</span><span>,</span><span class="string">&#8216;common&#8217;</span><span>) . </span><span class="string">&#8216;/&#8217;</span><span> . </span><span class="vars">$column_box_default</span><span>); </span></div>
<div class="alt" style="width: 461px;">}</div>
<div style="width: 461px;">?&gt;</div>
<p><strong>3, Add Language Variables:</strong>You now need to modify the english.php language file to add the definitions for any text variables you have used in either file. In this example we have added a new variable called BOX_HEADING_WELCOME. So for this example you would add the below to english.php.</p>
<div class="alt" style="width: 417px;"><span class="comment">// welcome box text in sideboxes/welcome.php</span><span> </span></div>
<div style="width: 417px;">define(<span class="string">&#8216;BOX_HEADING_WELCOME&#8217;</span><span>, </span><span class="string">&#8216;Welcome Message&#8217;</span><span>); </span></div>
<p>Note above that BOX_HEADING_WELCOME is the name of the variable used and “Welcome Message” is the text that is displayed anywhere that the variable is used.<strong></strong></p>
<p><strong>4, Enable Sidebox:</strong>Now visit the Zen Cart admin system in your browser to turn the sidebox on. Once you have logged into the admin hover over Tools and select “Layout Boxes Controller” from the drop down. You will see the new sidebox in the list which in this example is sideboxes/welcome.php. Click on the new box twice and in the upper right of the window you will see fields that  you can edit. Type the correct number is the sort order field to display the box, select the radio button next to on in “Left/Right Column Status”, and then click the Update button. Your new sidebox is now enabled on your site.<strong></strong></p>
<p><strong>5, Verify Sidebox:</strong>Now visit your Zen Cart store in a browser and the sidebox should show.</p>
<h4>Incoming search terms for the article:</h4><ul><li><a href="http://www.dswei.com/2009/11/how-to-add-a-sidebox-to-zen-cart/" title="how to create new sidebox in zen cart">how to create new sidebox in zen cart</a></li><li><a href="http://www.dswei.com/2009/11/how-to-add-a-sidebox-to-zen-cart/" title="hp zeen root">hp zeen root</a></li><li><a href="http://www.dswei.com/2009/11/how-to-add-a-sidebox-to-zen-cart/" title="zen cart chat box">zen cart chat box</a></li><li><a href="http://www.dswei.com/2009/11/how-to-add-a-sidebox-to-zen-cart/" title="create a sidebox in zen cart">create a sidebox in zen cart</a></li><li><a href="http://www.dswei.com/2009/11/how-to-add-a-sidebox-to-zen-cart/" title="sidebox zen cart">sidebox zen cart</a></li><li><a href="http://www.dswei.com/2009/11/how-to-add-a-sidebox-to-zen-cart/" title="zen cart welcome box">zen cart welcome box</a></li><li><a href="http://www.dswei.com/2009/11/how-to-add-a-sidebox-to-zen-cart/" title="add right side box zen cart">add right side box zen cart</a></li><li><a href="http://www.dswei.com/2009/11/how-to-add-a-sidebox-to-zen-cart/" title="rooting hp zeen">rooting hp zeen</a></li><li><a href="http://www.dswei.com/2009/11/how-to-add-a-sidebox-to-zen-cart/" title="zen cart layout boxes controller">zen cart layout boxes controller</a></li><li><a href="http://www.dswei.com/2009/11/how-to-add-a-sidebox-to-zen-cart/" title="insert chatbox in zencart">insert chatbox in zencart</a></li></ul><!-- SEO SearchTerms Tagging 2 plugin took 1.875 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.dswei.com/2009/11/how-to-add-a-sidebox-to-zen-cart/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

