<?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: STS and Dynamic Meta Tags</title>
	<atom:link href="http://sodoityourself.com/oscommerce-sts-dynamic-meta-tags/feed/" rel="self" type="application/rss+xml" />
	<link>http://sodoityourself.com/oscommerce-sts-dynamic-meta-tags/</link>
	<description></description>
	<pubDate>Wed, 10 Mar 2010 19:16:54 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: aron yu</title>
		<link>http://sodoityourself.com/oscommerce-sts-dynamic-meta-tags/comment-page-1/#comment-13983</link>
		<dc:creator>aron yu</dc:creator>
		<pubDate>Fri, 06 Mar 2009 21:45:12 +0000</pubDate>
		<guid isPermaLink="false">http://sodoityourself.com/oscommerce-sts-dynamic-meta-tags/#comment-13983</guid>
		<description>STORE_DESCRIPT
STORE_METDEX
store_keyword


where do i go set those ?? please email me info@aronatic.com w/ solutions

thanks</description>
		<content:encoded><![CDATA[<p>STORE_DESCRIPT<br />
STORE_METDEX<br />
store_keyword</p>
<p>where do i go set those ?? please email me <a href="mailto:info@aronatic.com">info@aronatic.com</a> w/ solutions</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Benjamin Baez</title>
		<link>http://sodoityourself.com/oscommerce-sts-dynamic-meta-tags/comment-page-1/#comment-13066</link>
		<dc:creator>Benjamin Baez</dc:creator>
		<pubDate>Wed, 07 Jan 2009 00:52:45 +0000</pubDate>
		<guid isPermaLink="false">http://sodoityourself.com/oscommerce-sts-dynamic-meta-tags/#comment-13066</guid>
		<description>Very nice article, here are clarifications and augments:

3. Open file catalog\includes\meta_tags.php
Find (Pay careful attention since there are many similar declarations, ~line 366):

# Keywords
tep_not_null(HEAD_KEY_TAG_ALL)
  ? $key.='-'. STORE_KEYWORD
  : NULL;

$metakeywords=strtolower(meta_create_meta_keywords($key));
}

After Add:

// Mod STS + cDynamic Meta Tags
// Check if STS is enabled or in test mode
    if ((MODULE_STS_DEFAULT_STATUS == 'true') &#124;&#124; (($_GET['sts_debug'] == MODULE_STS_DEBUG_CODE))) { 

} else {

Find (Version 1.6.0 had the following error; “n” should be “\n”:
#####################################   OUTPUT THE DATA    ##########################################
echo '  '.$metatitle.'' . "\n";
echo '  ' . "\n";
echo '  ' . "\n";
#####################################################################################################
After Add:

    }

// END STS + cDynamic Meta Tags Mod

window.google_render_ad(); 
4. Open catalog\includes\modules\sts_inc\sts_user_code.php
Somewhere in the file, preferably on the top after the comments 
Add:
  # Mod STS + cDynamic Meta Tags
  # Empty current headertags so we control what goes in, should only be 
  $sts-&#62;template['headertags'] = '';
  $sts-&#62;template['headertags'] = $sts-&#62;template['headertags'] . ''.$metatitle.'' ."\n";
  $sts-&#62;template['headertags'] = $sts-&#62;template['headertags'] . '' ."\n";
  $sts-&#62;template['headertags'] = $sts-&#62;template['headertags'] . '' ."\n";
  # End Mod STS + cDynamic Meta Tags

5.Open your current template.
The standard is catalog\includes\sts_templates\test\sts_template.html
Find:



After Add:

&lt;!--$headcontent--&gt;</description>
		<content:encoded><![CDATA[<p>Very nice article, here are clarifications and augments:</p>
<p>3. Open file catalog\includes\meta_tags.php<br />
Find (Pay careful attention since there are many similar declarations, ~line 366):</p>
<p># Keywords<br />
tep_not_null(HEAD_KEY_TAG_ALL)<br />
  ? $key.=&#8217;-&#8217;. STORE_KEYWORD<br />
  : NULL;</p>
<p>$metakeywords=strtolower(meta_create_meta_keywords($key));<br />
}</p>
<p>After Add:</p>
<p>// Mod STS + cDynamic Meta Tags<br />
// Check if STS is enabled or in test mode<br />
    if ((MODULE_STS_DEFAULT_STATUS == &#8216;true&#8217;) || (($_GET['sts_debug'] == MODULE_STS_DEBUG_CODE))) { </p>
<p>} else {</p>
<p>Find (Version 1.6.0 had the following error; “n” should be “\n”:<br />
#####################################   OUTPUT THE DATA    ##########################################<br />
echo &#8216;  &#8216;.$metatitle.&#8221; . &#8220;\n&#8221;;<br />
echo &#8216;  &#8216; . &#8220;\n&#8221;;<br />
echo &#8216;  &#8216; . &#8220;\n&#8221;;<br />
#####################################################################################################<br />
After Add:</p>
<p>    }</p>
<p>// END STS + cDynamic Meta Tags Mod</p>
<p>window.google_render_ad();<br />
4. Open catalog\includes\modules\sts_inc\sts_user_code.php<br />
Somewhere in the file, preferably on the top after the comments<br />
Add:<br />
  # Mod STS + cDynamic Meta Tags<br />
  # Empty current headertags so we control what goes in, should only be<br />
  $sts-&gt;template['headertags'] = &#8221;;<br />
  $sts-&gt;template['headertags'] = $sts-&gt;template['headertags'] . &#8221;.$metatitle.&#8221; .&#8221;\n&#8221;;<br />
  $sts-&gt;template['headertags'] = $sts-&gt;template['headertags'] . &#8221; .&#8221;\n&#8221;;<br />
  $sts-&gt;template['headertags'] = $sts-&gt;template['headertags'] . &#8221; .&#8221;\n&#8221;;<br />
  # End Mod STS + cDynamic Meta Tags</p>
<p>5.Open your current template.<br />
The standard is catalog\includes\sts_templates\test\sts_template.html<br />
Find:</p>
<p>After Add:</p>
<p><!--$headcontent--></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Antoine Hoekman</title>
		<link>http://sodoityourself.com/oscommerce-sts-dynamic-meta-tags/comment-page-1/#comment-10277</link>
		<dc:creator>Antoine Hoekman</dc:creator>
		<pubDate>Tue, 06 May 2008 09:34:02 +0000</pubDate>
		<guid isPermaLink="false">http://sodoityourself.com/oscommerce-sts-dynamic-meta-tags/#comment-10277</guid>
		<description>Another Addition/

Don't use require(DIR_WS_INCLUDES . ‘meta_tags.php’);  in str_user_code.php ... after that index.php and categories don't work anymore.  In stead add the line

require(DIR_WS_INCLUDES . ‘meta_tags.php’);

Somewhere in 

product_info.php
specials.php
products_new.php

somewhere after another require.

Hopefully everything works fine know .. if not let me know.

Antoine</description>
		<content:encoded><![CDATA[<p>Another Addition/</p>
<p>Don&#8217;t use require(DIR_WS_INCLUDES . ‘meta_tags.php’);  in str_user_code.php &#8230; after that index.php and categories don&#8217;t work anymore.  In stead add the line</p>
<p>require(DIR_WS_INCLUDES . ‘meta_tags.php’);</p>
<p>Somewhere in </p>
<p>product_info.php<br />
specials.php<br />
products_new.php</p>
<p>somewhere after another require.</p>
<p>Hopefully everything works fine know .. if not let me know.</p>
<p>Antoine</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Antoine Hoekman</title>
		<link>http://sodoityourself.com/oscommerce-sts-dynamic-meta-tags/comment-page-1/#comment-10245</link>
		<dc:creator>Antoine Hoekman</dc:creator>
		<pubDate>Mon, 05 May 2008 11:23:33 +0000</pubDate>
		<guid isPermaLink="false">http://sodoityourself.com/oscommerce-sts-dynamic-meta-tags/#comment-10245</guid>
		<description>addition to above post.

Meant:

right after the opening php tag.

   require(DIR_WS_INCLUDES . 'meta_tags.php');

This solved the problem for me.

Kind regards,

Antoine</description>
		<content:encoded><![CDATA[<p>addition to above post.</p>
<p>Meant:</p>
<p>right after the opening php tag.</p>
<p>   require(DIR_WS_INCLUDES . &#8216;meta_tags.php&#8217;);</p>
<p>This solved the problem for me.</p>
<p>Kind regards,</p>
<p>Antoine</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Antoine Hoekman</title>
		<link>http://sodoityourself.com/oscommerce-sts-dynamic-meta-tags/comment-page-1/#comment-10244</link>
		<dc:creator>Antoine Hoekman</dc:creator>
		<pubDate>Mon, 05 May 2008 11:17:18 +0000</pubDate>
		<guid isPermaLink="false">http://sodoityourself.com/oscommerce-sts-dynamic-meta-tags/#comment-10244</guid>
		<description>I had the same problem with empty variables. The problem is that the above installation procedure is not complete. The meta_tags.php file isn't called from any code.

Adding the line below to the beginning of sts_user.php (right after </description>
		<content:encoded><![CDATA[<p>I had the same problem with empty variables. The problem is that the above installation procedure is not complete. The meta_tags.php file isn&#8217;t called from any code.</p>
<p>Adding the line below to the beginning of sts_user.php (right after</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kevin</title>
		<link>http://sodoityourself.com/oscommerce-sts-dynamic-meta-tags/comment-page-1/#comment-10104</link>
		<dc:creator>kevin</dc:creator>
		<pubDate>Tue, 29 Apr 2008 17:42:42 +0000</pubDate>
		<guid isPermaLink="false">http://sodoityourself.com/oscommerce-sts-dynamic-meta-tags/#comment-10104</guid>
		<description>// Mod STS + cDynamic Meta Tags
// Check if STS is enabled or in test mode
    if ((MODULE_STS_DEFAULT_STATUS == 'true') &#124;&#124; (($_GET['sts_debug'] == MODULE_STS_DEBUG_CODE)))
	  { };

that works</description>
		<content:encoded><![CDATA[<p>// Mod STS + cDynamic Meta Tags<br />
// Check if STS is enabled or in test mode<br />
    if ((MODULE_STS_DEFAULT_STATUS == &#8216;true&#8217;) || (($_GET['sts_debug'] == MODULE_STS_DEBUG_CODE)))<br />
	  { };</p>
<p>that works</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://sodoityourself.com/oscommerce-sts-dynamic-meta-tags/comment-page-1/#comment-10008</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Sat, 19 Apr 2008 19:32:06 +0000</pubDate>
		<guid isPermaLink="false">http://sodoityourself.com/oscommerce-sts-dynamic-meta-tags/#comment-10008</guid>
		<description>Hmm... it was not that :)

Here it comes again:

Hello.

I have installed following the above instructions, but i get a [Opening Tag] (- cant write it, because this blog will disform it) in the top left corner of my site now. Everything else is working fine (also Meta).

Can some one please help me? I cant find a loose tag anywhere :(

The tag is somewhere in my catalog\includes\meta_tags.php - i think.

I really hope you can help! - Michael</description>
		<content:encoded><![CDATA[<p>Hmm&#8230; it was not that <img src='http://sodoityourself.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Here it comes again:</p>
<p>Hello.</p>
<p>I have installed following the above instructions, but i get a [Opening Tag] (- cant write it, because this blog will disform it) in the top left corner of my site now. Everything else is working fine (also Meta).</p>
<p>Can some one please help me? I cant find a loose tag anywhere <img src='http://sodoityourself.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>The tag is somewhere in my catalog\includes\meta_tags.php - i think.</p>
<p>I really hope you can help! - Michael</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://sodoityourself.com/oscommerce-sts-dynamic-meta-tags/comment-page-1/#comment-10007</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Sat, 19 Apr 2008 19:29:10 +0000</pubDate>
		<guid isPermaLink="false">http://sodoityourself.com/oscommerce-sts-dynamic-meta-tags/#comment-10007</guid>
		<description>Hello.

I have installed following the above instructions, but i get a "</description>
		<content:encoded><![CDATA[<p>Hello.</p>
<p>I have installed following the above instructions, but i get a &#8220;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://sodoityourself.com/oscommerce-sts-dynamic-meta-tags/comment-page-1/#comment-8981</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Wed, 09 Jan 2008 12:49:03 +0000</pubDate>
		<guid isPermaLink="false">http://sodoityourself.com/oscommerce-sts-dynamic-meta-tags/#comment-8981</guid>
		<description>@David:

The 'n' should be a line break: replace "n" with "\n" and it should work fine.

I'm having a similar problem with output though. I have tested on a development copy of my client's site and can get it working properly. I install cDynamic Meta Tags on the production site and get no output at the template stage other than empty HTML tags. This suggests to me that the variables aren't being passed to the templates somewhere up the line. I have tested the code in sts_user_code.php by putting some static text in the title tag, and confirmed this. It looks like the $meta- variables need to be passed on somewhere. More when I find it.</description>
		<content:encoded><![CDATA[<p>@David:</p>
<p>The &#8216;n&#8217; should be a line break: replace &#8220;n&#8221; with &#8220;\n&#8221; and it should work fine.</p>
<p>I&#8217;m having a similar problem with output though. I have tested on a development copy of my client&#8217;s site and can get it working properly. I install cDynamic Meta Tags on the production site and get no output at the template stage other than empty HTML tags. This suggests to me that the variables aren&#8217;t being passed to the templates somewhere up the line. I have tested the code in sts_user_code.php by putting some static text in the title tag, and confirmed this. It looks like the $meta- variables need to be passed on somewhere. More when I find it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bgfkjg</title>
		<link>http://sodoityourself.com/oscommerce-sts-dynamic-meta-tags/comment-page-1/#comment-7351</link>
		<dc:creator>bgfkjg</dc:creator>
		<pubDate>Sun, 30 Sep 2007 16:06:31 +0000</pubDate>
		<guid isPermaLink="false">http://sodoityourself.com/oscommerce-sts-dynamic-meta-tags/#comment-7351</guid>
		<description>http://www.meta-fx.com
forex     فارکس</description>
		<content:encoded><![CDATA[<p><a href="http://www.meta-fx.com" rel="nofollow">http://www.meta-fx.com</a><br />
forex     فارکس</p>
]]></content:encoded>
	</item>
</channel>
</rss>
