<?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: osCommerce Breadcrumb Tips</title>
	<atom:link href="http://www.clubosc.com/oscommerce-breadcrumb-tips.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.clubosc.com/oscommerce-breadcrumb-tips.html</link>
	<description>Showcasing osCommerce...the good, the bad and the ugly!</description>
	<lastBuildDate>Fri, 30 Jul 2010 13:32:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Gary</title>
		<link>http://www.clubosc.com/oscommerce-breadcrumb-tips.html/comment-page-1#comment-2700</link>
		<dc:creator>Gary</dc:creator>
		<pubDate>Thu, 08 Jan 2009 12:23:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.clubosc.com/?p=124#comment-2700</guid>
		<description>Joshi - good catch - thanks.</description>
		<content:encoded><![CDATA[<p>Joshi &#8211; good catch &#8211; thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joshi2007</title>
		<link>http://www.clubosc.com/oscommerce-breadcrumb-tips.html/comment-page-1#comment-2675</link>
		<dc:creator>Joshi2007</dc:creator>
		<pubDate>Sun, 04 Jan 2009 17:07:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.clubosc.com/?p=124#comment-2675</guid>
		<description>Hi.

I had Problems with the Breadcrumbs and Productnames.

Language-ID must be used in my Case. 

What happend ?

The Breadcrumb donÂ´t Display the Productname.

Cause: When the Shop uses more Languages and the &quot;Productname Fields&quot;
are not all filled out,
then it displays only the Separator (in My case a Picture).

Solution:

Set the LanguageID in the SQL Request.

//this is the line to be changed
$model_query = tep_db_query(&quot;select products_name from &quot; . TABLE_PRODUCTS_DESCRIPTION . &quot; where products_id = &#039;&quot; . (int)$HTTP_GET_VARS[&#039;products_id&#039;] . &quot;&#039; and language_id = &#039;&quot; . (int)$languages_id . &quot;&#039;&quot;);
//end of line to be changed

Here the complete Solution (like the Tutorial above, but the added change(s). ):

---------------------------
// BoF -- add the products NAME -with language support- to the breadcrumb trail
if (isset($HTTP_GET_VARS[&#039;products_id&#039;])) {
$model_query = tep_db_query(&quot;select products_name from &quot; . TABLE_PRODUCTS_DESCRIPTION . &quot; where products_id = &#039;&quot; . (int)$HTTP_GET_VARS[&#039;products_id&#039;] . &quot;&#039; and language_id = &#039;&quot; . (int)$languages_id . &quot;&#039;&quot;);
if (tep_db_num_rows($model_query)) {
$model = tep_db_fetch_array($model_query);
$breadcrumb-&gt;add($model[&#039;products_name&#039;]);
}
}

//EoF -- add the products NAME -with language support- to the breadcrumb trail

Joshi from Hamburg Germany.

P.S. ItÂ´s not the right solution, but a fast Tryout... THX and c.u. 
__________________________________________________</description>
		<content:encoded><![CDATA[<p>Hi.</p>
<p>I had Problems with the Breadcrumbs and Productnames.</p>
<p>Language-ID must be used in my Case. </p>
<p>What happend ?</p>
<p>The Breadcrumb donÂ´t Display the Productname.</p>
<p>Cause: When the Shop uses more Languages and the &#034;Productname Fields&#034;<br />
are not all filled out,<br />
then it displays only the Separator (in My case a Picture).</p>
<p>Solution:</p>
<p>Set the LanguageID in the SQL Request.</p>
<p>//this is the line to be changed<br />
$model_query = tep_db_query(&#034;select products_name from &#034; . TABLE_PRODUCTS_DESCRIPTION . &#034; where products_id = &#039;&#034; . (int)$HTTP_GET_VARS['products_id'] . &#034;&#039; and language_id = &#039;&#034; . (int)$languages_id . &#034;&#039;&#034;);<br />
//end of line to be changed</p>
<p>Here the complete Solution (like the Tutorial above, but the added change(s). ):</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
// BoF &#8212; add the products NAME -with language support- to the breadcrumb trail<br />
if (isset($HTTP_GET_VARS['products_id'])) {<br />
$model_query = tep_db_query(&#034;select products_name from &#034; . TABLE_PRODUCTS_DESCRIPTION . &#034; where products_id = &#039;&#034; . (int)$HTTP_GET_VARS['products_id'] . &#034;&#039; and language_id = &#039;&#034; . (int)$languages_id . &#034;&#039;&#034;);<br />
if (tep_db_num_rows($model_query)) {<br />
$model = tep_db_fetch_array($model_query);<br />
$breadcrumb-&gt;add($model['products_name']);<br />
}<br />
}</p>
<p>//EoF &#8212; add the products NAME -with language support- to the breadcrumb trail</p>
<p>Joshi from Hamburg Germany.</p>
<p>P.S. ItÂ´s not the right solution, but a fast Tryout&#8230; THX and c.u.<br />
__________________________________________________</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tomee80</title>
		<link>http://www.clubosc.com/oscommerce-breadcrumb-tips.html/comment-page-1#comment-2184</link>
		<dc:creator>Tomee80</dc:creator>
		<pubDate>Fri, 12 Sep 2008 21:22:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.clubosc.com/?p=124#comment-2184</guid>
		<description>here is the image how it appears in my browser:

http://img527.imageshack.us/img527/3236/erroriu2.gif

Cheers,
Tomee</description>
		<content:encoded><![CDATA[<p>here is the image how it appears in my browser:</p>
<p><a href="http://img527.imageshack.us/img527/3236/erroriu2.gif" rel="nofollow">http://img527.imageshack.us/img527/3236/erroriu2.gif</a></p>
<p>Cheers,<br />
Tomee</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tomee80</title>
		<link>http://www.clubosc.com/oscommerce-breadcrumb-tips.html/comment-page-1#comment-2183</link>
		<dc:creator>Tomee80</dc:creator>
		<pubDate>Fri, 12 Sep 2008 21:14:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.clubosc.com/?p=124#comment-2183</guid>
		<description>I&#039;m not sure if it&#039;s just me and my browser (using latest FF v3.0) but the code regarding the application_top.php file appears in my browser:

$breadcrumb-&gt;add($model[&#039;pr... and it gives me error

so I modified to

$breadcrumb-&gt;add($model[&#039;pr... 

now it works just fine, thank you for this piece of code :)</description>
		<content:encoded><![CDATA[<p>I&#039;m not sure if it&#039;s just me and my browser (using latest FF v3.0) but the code regarding the application_top.php file appears in my browser:</p>
<p>$breadcrumb-&gt;add($model[&#039;pr&#8230; and it gives me error</p>
<p>so I modified to</p>
<p>$breadcrumb-&gt;add($model[&#039;pr&#8230; </p>
<p>now it works just fine, thank you for this piece of code <img src='http://www.clubosc.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gary</title>
		<link>http://www.clubosc.com/oscommerce-breadcrumb-tips.html/comment-page-1#comment-700</link>
		<dc:creator>Gary</dc:creator>
		<pubDate>Tue, 06 May 2008 07:18:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.clubosc.com/?p=124#comment-700</guid>
		<description>Glad you found it useful :)</description>
		<content:encoded><![CDATA[<p>Glad you found it useful <img src='http://www.clubosc.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
