STS V4.5.2 AND HEADER TAGS CONTROLLER V2.6.3
I've installed the above contributions separately (unfortunately, I didn't see the bundled STS4 Power Pack until too late). STS is working really well. But HTC only works if I switch STS off.
With STS off, title, description and keywords meta tags are all correctly included in index.php, category page, "all products" page and individual product pages. The admin side of HTC appears to be working fine and is allowing me to save meta tags.
But with STS switched on, I get the default OSCommerce title and no decription or keywords meta tags.
I've switched on STS debug mode and then can see my HTC tags displayed in the $sts->template['applicationtop2header'] section of the debug code as follows:
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="LTR" lang="en">
<head>
<!-- ipl edit re Header Tags Controller -->
<title>Welcome to Cumbrian food - Lake District food - fine food</title>
<meta name="Description" content="We produce Cumbrian food, Lake District food, fine food." />
<meta name="Keywords" content="Cumbrian food, Lake District food, fine food" />
<meta name="robots" content="noodp" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!-- EOF: Generated Meta Tags -->
<base href="http://localhost/catalog/">
<link rel="stylesheet" type="text/css" href="stylesheet.css">
</head>
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">
<!-- header //-->
But these meta tags are not being inserted into the pages.
I installed STS first and wasn't clear how to install HTC. I have followed all the HTC installation instructions.
3 specific queries:
1. is it possible to get this working even though I've followed the full HTC 2.6.3 installation isntructions rather than allowing STS to auto-detect HTC?
2. in sts_display_output.php, I followed the following HTC instructions - the lines that are meant to be replaced were not present so I just inserted the new lines:
require(DIR_WS_FUNCTIONS . 'clean_html_comments.php');
require(DIR_WS_FUNCTIONS . 'header_tags.php');
CHANGE TO
require_once(DIR_WS_FUNCTIONS . 'clean_html_comments.php');
require_once(DIR_WS_FUNCTIONS . 'header_tags.php');
3. in the admin screens for STS, do I need to insert any HTC filenames in the boxes "files for normal template", "files for index.php template", "files for content template"?
Thanks for any help.