smellycat Posted May 12, 2007 Share Posted May 12, 2007 Hi, I've installed header tags for novices (or idiots in my case !!) all went went, installed everything where it was mean't to go and all was fine. I then started to add the code as stated in the read me files: 1. Open index.php (under the catalog folder or your web root) for edit: Add between <head> and </head> or replace (if you have already got them there): <title><?php echo (strlen($categories['categories_name']) > 1) || (strlen($manufacturers['manufacturers_name']) > 1) ? $breadcrumb_tags->trail_tags(' ') . ' - ' . TITLE : TITLE; ?></title> <meta name="description" content="<?php echo strip_tags($breadcrumb_tags->trail_tags(' ')); ?>"> <meta name="keywords" content="<?php echo strip_tags($breadcrumb_tags->trail_tags(', ')); ?>"> 2. Open products_info.php (under the same folder as index.php above) for edit: Add between <head> and </head> or replace (if you have already got them there): <title><?php echo $header_tags[title_tag]; ?></title> <meta name="description" content="<?php echo $header_tags[desc_tag]; ?>"> <meta name="keywords" content="<?php echo $header_tags[keywords_tag]; ?>"> Thats when it all went wrong :blink: admin pages wouldn't load and got error message and main site went all bizarre looking. I removed and replaced the code with the original and site/admin is back to normal and fully functioning again but obviously I have not fully installed this contribution because there is no reference to it in admin. I have no Header tags entry/edit facility has shown in the screenshot ! I hope I've not confused you cos I haven't got a clue :blush: Any help/advice much appreciated Link to comment Share on other sites More sharing options...
spax Posted May 12, 2007 Share Posted May 12, 2007 It could be you wiped out some code that should have stayed. You should only have replaced the code as stated - this bit on a vanilla install: <title><?php echo TITLE; ?></title> I don't use this mod so don't know anything about it but if your problems run deeper than above, use the support forum for that mod. GemRock supports it well! http://www.oscommerce.com/forums/index.php?showtopic=247294 Link to comment Share on other sites More sharing options...
smellycat Posted May 12, 2007 Author Share Posted May 12, 2007 Thanks Peter, I'll check that out now :) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.