<?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>Breathing Spring &#187; Zen Cart</title>
	<atom:link href="http://breathing-spring.com/category/zen-cart/feed/" rel="self" type="application/rss+xml" />
	<link>http://breathing-spring.com</link>
	<description></description>
	<lastBuildDate>Tue, 29 Jun 2010 07:48:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Adding Page to Zen Cart 1.3.8</title>
		<link>http://breathing-spring.com/adding-page-to-zen-cart-138/</link>
		<comments>http://breathing-spring.com/adding-page-to-zen-cart-138/#comments</comments>
		<pubDate>Fri, 05 Sep 2008 20:31:30 +0000</pubDate>
		<dc:creator>Lamis</dc:creator>
				<category><![CDATA[Zen Cart]]></category>

		<guid isPermaLink="false">http://breathing-spring.com/?p=47</guid>
		<description><![CDATA[create your html includes file &#8211; it is a blank file named define_shopping_cart.php
upload that to your includes/language/english/html_includes and to includes/language/english/html_includes/your folder.
Edit includes/modules/pages/shopping_cart/header.php.php. Add this line
// include template specific file name defines
$define_page = zen_get_file_directory(DIR_WS_LANGUAGES . $_SESSION['language'] . &#8216;/html_includes/&#8217;, FILENAME_DEFINE_SHOPPING_CART, &#8216;false&#8217;);
before
// This should be last line of the script:
$zco_notifier-&#62;notify(&#8216;NOTIFY_HEADER_END_SHOPPING_CART&#8217;);
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;
Edit includes/filenames.php &#8211; add
define(&#8216;FILENAME_DEFINE_SHOPPING_CART&#8217;, &#8216;define_shopping_cart&#8217;);
be nice to yourself and ]]></description>
			<content:encoded><![CDATA[<p>create your html includes file &#8211; it is a blank file named define_shopping_cart.php<br />
upload that to your includes/language/english/html_includes and to includes/language/english/html_includes/your folder.</p>
<p>Edit includes/modules/pages/shopping_cart/header.php.php. Add this line<br />
// include template specific file name defines<br />
$define_page = zen_get_file_directory(DIR_WS_LANGUAGES . $_SESSION['language'] . &#8216;/html_includes/&#8217;, FILENAME_DEFINE_SHOPPING_CART, &#8216;false&#8217;);<br />
before<br />
// This should be last line of the script:<br />
$zco_notifier-&gt;notify(&#8216;NOTIFY_HEADER_END_SHOPPING_CART&#8217;);<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Edit includes/filenames.php &#8211; add<br />
define(&#8216;FILENAME_DEFINE_SHOPPING_CART&#8217;, &#8216;define_shopping_cart&#8217;);<br />
be nice to yourself and put it in alphabetically- line 68</p>
<p>OR</p>
<p>includes/extra_datafiles/define_shopping_cart_filenames.php</p>
<p>with at least this in it<br />
&lt;?php<br />
define(&#8216;FILENAME_DEFINE_SHOPPING_CART&#8217;, &#8216;define_shopping_cart&#8217;);<br />
?&gt;</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p></br> Edit includes/templates/your folder/templates/tpl_shopping_cart_default.php.<br />
line 33<br />
Replace &lt;?php echo TEXT_INFORMATION ?&gt; with &lt;?php echo define_page ?&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://breathing-spring.com/adding-page-to-zen-cart-138/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zen Cart Cheat Sheet</title>
		<link>http://breathing-spring.com/zen-cart-cheat-sheet/</link>
		<comments>http://breathing-spring.com/zen-cart-cheat-sheet/#comments</comments>
		<pubDate>Fri, 05 Sep 2008 20:28:05 +0000</pubDate>
		<dc:creator>Lamis</dc:creator>
				<category><![CDATA[Zen Cart]]></category>

		<guid isPermaLink="false">http://breathing-spring.com/?p=46</guid>
		<description><![CDATA[Remove number of sub-categories :
Admin -&#62; Config -&#62; My Store -&#62; Show Category Counts Set to false

Remove the -&#62; (arrow sign) from sub categories: 
 admin -&#62; configuration -&#62; layout setting &#8211; &#62; categories separator.

Remove Sidebox Header : 
#categoriesHeading {
display: none;
}
New products box-2 columns instead of 3:
admin -&#62; configuration -&#62; Index listing -&#62; New Products ]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal"><strong>Remove number of sub-categories :</strong></p>
<p class="MsoNormal">Admin -&gt; Config -&gt; My Store -&gt; Show Category Counts Set to false</p>
<p class="MsoNormal">
<p class="MsoNormal"><span class="highlight"><strong>Remove</strong></span><strong> the -&gt; (arrow sign) from sub categories: </strong></p>
<p class="MsoNormal"><strong><span> </span></strong>admin -&gt; configuration -&gt;<span> </span>layout setting &#8211; &gt; categories separator.</p>
<p class="MsoNormal">
<p class="MsoNormal"><strong>Remove Sidebox Header : </strong></p>
<p class="MsoNormal">#categoriesHeading {<br />
display: none;<br />
}</p>
<p class="MsoNormal"><strong>New products box-2 columns instead of 3:</strong></p>
<p class="MsoNormal">admin -&gt; configuration -&gt; Index listing -&gt; New Products Columns per Row</p>
<p class="MsoNormal">
<p class="MsoNormal"><strong>Image with no borders :</strong> img {border: none;}</p>
<p class="MsoNormal">
<p class="MsoNormal"><strong>Zen_image with Align</strong> : zen_image(DIR_WS_CATALOG_IMAGES . PRODUCTS_IMAGE_NO_IMAGE, $pInfo-&gt;products_name, <strong>SMALL_IMAGE_WIDTH</strong>, SMALL_IMAGE_HEIGHT, &#8216;align=&#8221;right&#8221; hspace=&#8221;5&#8243; vspace=&#8221;5&#8243;&#8216;)</p>
<p class="MsoNormal">
<p class="MsoNormal"><strong>Adding ID to <em><span style="font-style: normal;">zen_draw_input_field</span></em></strong></p>
<p class="MsoNormal"><em>zen_draw_input_field</em>(&#8216;fax&#8217;, &#8221;, &#8216;id=&#8221;fax&#8221;&#8216;)</p>
<p class="MsoNormal">
<p class="MsoNormal"><strong><span style="font-size: 16pt;">Main File Locations:</span></strong></p>
<p class="MsoNormal"><strong>Index body location : </strong><span> </span>templates/tpl_index_default.php</p>
]]></content:encoded>
			<wfw:commentRss>http://breathing-spring.com/zen-cart-cheat-sheet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating new pages for Zen Cart</title>
		<link>http://breathing-spring.com/creating-new-pages-for-zen-cart/</link>
		<comments>http://breathing-spring.com/creating-new-pages-for-zen-cart/#comments</comments>
		<pubDate>Sat, 12 Jul 2008 14:50:24 +0000</pubDate>
		<dc:creator>Lamis</dc:creator>
				<category><![CDATA[Zen Cart]]></category>

		<guid isPermaLink="false">http://breathing-spring.com/?p=29</guid>
		<description><![CDATA[this article is taken from Zen Cart Wiki http://www.zen-cart.com/wiki/index.php/Creating_new_pages
Overview
You may want to add additional pages to your Zen Cart™ store. Here are the basics steps you should follow. We will assume your new page is named myNewPage.
[edit]

Components of the new page
In order for the Zen Cart™ system to pick up the new page, you will ]]></description>
			<content:encoded><![CDATA[<p>this article is taken from Zen Cart Wiki http://www.zen-cart.com/wiki/index.php/Creating_new_pages</p>
<h2>Overview</h2>
<p>You may want to add additional pages to your Zen Cart™ store. Here are the basics steps you should follow. We will assume your new page is named <em>myNewPage</em>.</p>
<div class="editsection" style="float: right; margin-left: 5px;">[<a title="Edit section: Components of the new page" href="http://www.zen-cart.com/wiki/index.php?title=Creating_new_pages&amp;action=edit&amp;section=2">edit</a>]</div>
<p><a name="Components_of_the_new_page"></a></p>
<h3>Components of the new page</h3>
<p>In order for the Zen Cart™ system to pick up the new page, you will need to include four components:</p>
<ul>
<li> A new directory, <em>includes/modules/pages/myNewPage/</em>, containing a file called <em>header_php.php</em></li>
</ul>
<ul>
<li> A new file in the directory <em>includes/templates/template_default/templates</em> called <em>tpl_myNewPage_default.php</em></li>
</ul>
<ul>
<li> A new file, <em>includes/extra_datafiles/myNewPage.php</em>, defining your new page&#8217;s filename for the Zen Cart™ system</li>
</ul>
<ul>
<li> A new language file, <em>includes/languages/english/myNewPage.php</em></li>
</ul>
<div class="editsection" style="float: right; margin-left: 5px;">[<a title="Edit section: Naming your files" href="http://www.zen-cart.com/wiki/index.php?title=Creating_new_pages&amp;action=edit&amp;section=3">edit</a>]</div>
<p><a name="Naming_your_files"></a></p>
<h3>Naming your files</h3>
<p>It&#8217;s important that all these new components use the same name for your new page. (The only partial exception is the <em>extra_datafiles</em> file; see below.) Be sure that your new pages directory name, language file name, and template file name use exactly the same name for your new page.</p>
<div class="editsection" style="float: right; margin-left: 5px;">[<a title="Edit section: The header_php.php file" href="http://www.zen-cart.com/wiki/index.php?title=Creating_new_pages&amp;action=edit&amp;section=4">edit</a>]</div>
<p><a name="The_header_php.php_file"></a></p>
<h3>The <em>header_php.php</em> file</h3>
<p>At a minimum, this file should contain the following:</p>
<pre>&lt;?php
//
// +----------------------------------------------------------------------+
// |zen-cart Open Source E-commerce                                       |
// +----------------------------------------------------------------------+
// | Copyright (c) 2006 The zen-cart developers                           |
// |                                                                      |
// | http://www.zen-cart.com/index.php                                    |
// |                                                                      |
// | Portions Copyright (c) 2003 osCommerce                               |
// +----------------------------------------------------------------------+
// | This source file is subject to version 2.0 of the GPL license,       |
// | that is bundled with this package in the file LICENSE, and is        |
// | available through the world-wide-web at the following url:           |
// | http://www.zen-cart.com/license/2_0.txt.                             |
// | If you did not receive a copy of the zen-cart license and are unable |
// | to obtain it through the world-wide-web, please send a note to       |
// | license@zen-cart.com so we can mail you a copy immediately.          |
// +----------------------------------------------------------------------+
// $Id: header_php.php $
//
  require(DIR_WS_MODULES . 'require_languages.php');
  $breadcrumb-&gt;add(NAVBAR_TITLE);
?&gt;</pre>
<p>Additionally, you can add in whatever processing you need to do on your page to this file. Have a look at the other pages in the <em>includes/modules/pages/</em> directory to get an idea of what this file is for.</p>
<div class="editsection" style="float: right; margin-left: 5px;">[<a title="Edit section: The template file" href="http://www.zen-cart.com/wiki/index.php?title=Creating_new_pages&amp;action=edit&amp;section=5">edit</a>]</div>
<p><a name="The_template_file"></a></p>
<h3>The template file</h3>
<p>The new template file, <em>includes/templates/template_default/templates/tpl_myNewPage_default.php</em>, contains the main HTML body for your page. A good starting point for this page is to copy one of the other pages in this directory and adjust it to fit your new page&#8217;s desired format.</p>
<div class="infoBoxBlur">
<div class="infoBoxShadow">
<div class="infoBoxContent">
<div class="infoBoxTitle"><a class="image" title="Image:info.png" href="http://www.zen-cart.com/wiki/index.php/Image:Info.png"><img longdesc="/wiki/index.php/Image:Info.png" src="http://www.zen-cart.com/wiki/images/b/b3/Info.png" alt="Image:info.png" width="16" height="16" /></a> Custom templates</div>
<div class="infoBoxContent2">You can copy your new template page from template_default to a custom template directory if you&#8217;d like to make template-specific changes to the layout (for example, for a seasonal design).</div>
</div>
</div>
</div>
<div class="editsection" style="float: right; margin-left: 5px;">[<a title="Edit section: The extra_datafiles file" href="http://www.zen-cart.com/wiki/index.php?title=Creating_new_pages&amp;action=edit&amp;section=6">edit</a>]</div>
<p><a name="The_extra_datafiles_file"></a></p>
<h3>The <em>extra_datafiles</em> file</h3>
<p>This file, <em>includes/extra_datafiles/myNewPage.php</em>, should contain the following line:</p>
<pre>&lt;?php
define(FILENAME_MYNEWPAGE, 'myNewPage');
?&gt;
</pre>
<p>The constant on the left, <em>FILENAME_MYNEWPAGE</em>, is the tag you will use to link to your new page from other locations in your shop. The string on the right, <em>myNewPage</em>, must exactly match the name of your new <em>includes/modules/pages/</em> directory.</p>
<div class="infoBoxBlur">
<div class="infoBoxShadow">
<div class="infoBoxContent">
<div class="infoBoxTitle"><a class="image" title="Image:info.png" href="http://www.zen-cart.com/wiki/index.php/Image:Info.png"><img longdesc="/wiki/index.php/Image:Info.png" src="http://www.zen-cart.com/wiki/images/b/b3/Info.png" alt="Image:info.png" width="16" height="16" /></a> Just one new file</div>
<div class="infoBoxContent2">You don&#8217;t need a separate new extra_datafiles file for each new page you create. If you are adding several new pages, you can place all the filename defines into one file, and give that file any name whatsoever. All the files in the extra_datafiles folder are loaded in for every page.</div>
</div>
</div>
</div>
<div class="editsection" style="float: right; margin-left: 5px;">[<a title="Edit section: The language file" href="http://www.zen-cart.com/wiki/index.php?title=Creating_new_pages&amp;action=edit&amp;section=7">edit</a>]</div>
<p><a name="The_language_file"></a></p>
<h3>The language file</h3>
<p>The language file for your page should contain definitions for all the local text elements on your page; for example:</p>
<pre>&lt;?php
define('NAVBAR_TITLE', 'New Page');
define('HEADING_TITLE','My Cool New Page');
?&gt;
</pre>
<p>Other languages</p>
<div class="infoBoxContent2">Don&#8217;t forget to make a copy of the language file for the other languages in your shop.</div>
]]></content:encoded>
			<wfw:commentRss>http://breathing-spring.com/creating-new-pages-for-zen-cart/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
