<?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/"
	xmlns:series="http://unfoldingneurons.com/"
	>

<channel>
	<title>kerrinhardy.com &#187; NavMain</title>
	<atom:link href="http://www.kerrinhardy.com/tag/navmain/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kerrinhardy.com</link>
	<description>The Ultimate Reference for Customising Zen Cart</description>
	<lastBuildDate>Sun, 25 Sep 2011 04:49:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Add links to the NavMain Menu in Zen Cart</title>
		<link>http://www.kerrinhardy.com/2010/01/03/add-links-to-the-navmain-menu-in-zen-cart/</link>
		<comments>http://www.kerrinhardy.com/2010/01/03/add-links-to-the-navmain-menu-in-zen-cart/#comments</comments>
		<pubDate>Sun, 03 Jan 2010 09:15:20 +0000</pubDate>
		<dc:creator>kerrin hardy</dc:creator>
				<category><![CDATA[Zen Cart Navigation]]></category>
		<category><![CDATA[Zen Cart Tips]]></category>
		<category><![CDATA[NavMain]]></category>

		<guid isPermaLink="false">http://www.kerrinhardy.com/?p=1193</guid>
		<description><![CDATA[As part of the navigation in Zen Cart, the NavMain menu is in the top, left hand corner in a default installation. When a customer has logged in and with one one or more products in their Shopping Cart, the NavMain menu looks like this: The Home link in the NavMain menu is set to [...]<h4>More Zen Cart:</h4>
<ol>
		<li><a href="http://www.kerrinhardy.com/2011/06/13/remove-the-sub-category-text-links-in-zen-cart/" rel="bookmark">Remove the sub category text links in Zen Cart</a><!-- (6.8)--></li>
		<li><a href="http://www.kerrinhardy.com/zen-cart/zen-cart-admin/zen-cart-admin-configuration-menu/" rel="bookmark">Zen Cart Admin &gt; Configuration Menu</a><!-- (5.9)--></li>
	</ol>
]]></description>
			<content:encoded><![CDATA[<p>As part of the navigation in Zen Cart, the NavMain menu is in the top, left hand corner in a default installation.</p>
<p><img style="display: inline; border-width: 0px;" title="image" src="http://www.kerrinhardy.com/wp-content/uploads/2010/01/image25.png" border="0" alt="image" width="642" height="186" /></p>
<p>When a customer has logged in and with one one or more products in their Shopping Cart, the NavMain menu looks like this:<br />
<img style="display: inline; border-width: 0px;" title="Zen Cart NavMain Menu" src="http://www.kerrinhardy.com/wp-content/uploads/2010/01/image26.png" border="0" alt="Zen Cart NavMain Menu" width="642" height="190" /></p>
<p>The <strong><em>Home</em></strong> link in the NavMain menu is set to the Zen Cart store front.  There are occasions when you may wish to alter this behaviour.  For example, if your online store is in a sub directory of your main website, you might be looking to set <strong><em>Home</em></strong> to link to your main website and an additional link <strong><em>Store</em></strong> to lead to Zen Cart online store.</p>
<p>This is achieved by modifying the tpl_header.php file.</p>
<ol>
<li>Open the tpl_header.php file located in the <em><strong>/includes/templates/template_default/common/</strong></em> directory.</li>
<li>Find this section of code:
<pre class="brush: php; title: ; notranslate">&lt;div id=&quot;navMain&quot;&gt;
&lt;ul class=&quot;back&quot;&gt;
&lt;li&gt;&lt;?php echo '&lt;a href=&quot;' . HTTP_SERVER . DIR_WS_CATALOG . '&quot;&gt;'; ?&gt;&lt;?php echo HEADER_TITLE_CATALOG; ?&gt;&lt;/a&gt;&lt;/li&gt;</pre>
</li>
<li>To change the existing <em><strong>Home</strong></em> link to read <em><strong>Store</strong></em>, update the section of code as follows:
<pre class="brush: php; title: ; notranslate">&lt;div id=&quot;navMain&quot;&gt;
&lt;ul class=&quot;back&quot;&gt;
&lt;li&gt;&lt;?php echo '&lt;a href=&quot;' . HTTP_SERVER . DIR_WS_CATALOG . '&quot;&gt;'; ?&gt;Store&lt;/a&gt;&lt;/li&gt;</pre>
<p>Replace <em>Store</em> with whatever you wish your online store link to be.</li>
<li>To add an additional link to your main website Home, update the section of code as follows:
<pre class="brush: php; title: ; notranslate">&lt;div id=&quot;navMain&quot;&gt;
&lt;ul class=&quot;back&quot;&gt;
&lt;li&gt;&lt;a href=&quot;http://www.domain.com/&quot;&gt;Home&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;?php echo '&lt;a href=&quot;' . HTTP_SERVER . DIR_WS_CATALOG . '&quot;&gt;'; ?&gt;Store&lt;/a&gt;&lt;/li&gt;</pre>
<p>Replace <em>http://www.domain.com</em> with your main website address and replace <em>Home</em> with the link name you would like to use.</li>
<li>Save the modified tpl_header.php file to your override folder. This will be <em><strong>/includes/templates/CUSTOM/common/</strong></em> where <em><strong>CUSTOM</strong></em> represents the name of your current template folder.</li>
</ol>
<p><img style="display: inline; border: 0px;" title="Add link to NavMain" src="http://www.kerrinhardy.com/wp-content/uploads/2010/01/image27.png" border="0" alt="Add link to NavMain" width="642" height="186" /></p>
<h4>More Zen Cart:</h4>
<ol>
		<li><a href="http://www.kerrinhardy.com/2011/06/13/remove-the-sub-category-text-links-in-zen-cart/" rel="bookmark">Remove the sub category text links in Zen Cart</a><!-- (6.8)--></li>
		<li><a href="http://www.kerrinhardy.com/zen-cart/zen-cart-admin/zen-cart-admin-configuration-menu/" rel="bookmark">Zen Cart Admin &gt; Configuration Menu</a><!-- (5.9)--></li>
	</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.kerrinhardy.com/2010/01/03/add-links-to-the-navmain-menu-in-zen-cart/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>

