coyotefan107 Posted January 23, 2004 Share Posted January 23, 2004 What file do I put the Meta Tag Keyword information in? Is there someplace that I can put it once so that it appears on all my pages for search engine submissions, etc. Thank you very much!!! Link to comment Share on other sites More sharing options...
ttt2 Posted January 28, 2004 Share Posted January 28, 2004 you need to install a contribution to get meta tag. I forgot which one, but do a search in contribution page. Link to comment Share on other sites More sharing options...
TerryK Posted January 28, 2004 Share Posted January 28, 2004 Try the Header Tag Controller contribution: http://www.oscommerce.com/community/contributions,207 You will need to fix what I believe is a typo in the README to Operate.TXT file. Code reads: Replace the existing line in all files that you want to use the Header Tags Controller: Old Line: <title><?php echo TITLE ?></title> New Lines: <?php // BOF: WebMakers.com Changed: Header Tag Controller v1.0 // Replaced by header_tags.php if ( file_exists(DIR_WS_INCLUDES . 'header_tags.php') ) { ?require(DIR_WS_INCLUDES . 'header_tags.php'); } else { ?> ?<title><?php echo TITLE ?></title> <?php } // EOF: WebMakers.com Changed: Header Tag Controller v1.0 ?> NOTE: Rather than remove the original line, I used this block of code that uses the standard TITLE if the header_tags.php file does not exist. Should read: Replace the existing line in all files that you want to use the Header Tags Controller: Old Line: <title><?php echo TITLE; ?></title> New Lines: <?php // BOF: WebMakers.com Changed: Header Tag Controller v1.0 // Replaced by header_tags.php if ( file_exists(DIR_WS_INCLUDES . 'header_tags.php') ) { ?require(DIR_WS_INCLUDES . 'header_tags.php'); } else { ?> ?<title><?php echo TITLE; ?></title> <?php } // EOF: WebMakers.com Changed: Header Tag Controller v1.0 ?> NOTE: Rather than remove the original line, I used this block of code that uses the standard TITLE if the header_tags.php file does not exist. ( I just added the missing semi-colon at the end of <?php echo TITLE; ?> for both the old line and the mod. ) It takes a bit of work as you have to change the code for almost all of the pages in the /catalog directory (but not the sub-directories underneath that), but once I had it installed, it's now working like a charm. HTH, Terry Terry Kluytmans Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like: Add order total to checkout_shipment Add order total to checkout_payment Add radio buttons at checkout_shipping (for backorder options, etc.) Duplicate Table Rate Shipping Module Better Product Review Flow * If at first you don't succeed, find out if there's a prize for the loser. * Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.