Sorry to hear that the problem is still there and I think I understand. Ive been working on a site for the big valentine season the whole evening & 2morrow as well, so for give me not to have the time to look at it in details
Ken
Posted 30 January 2007, 00:29
Posted 30 January 2007, 02:10
$sts->template['headertags']= "<title>" . TITLE ."</title>";
// Header Tags for novices w/STS BOF
$sts->template['headertags']= "<title>";
$sts->template['headertags'] .= (strlen($breadcrumb_tags->trail_tags('')) > 0) ? TITLE . ' - ' . $breadcrumb_tags->trail_tags(' - ') : TITLE;
$sts->template['headertags'] .= "</title>";
$sts->template['headertags'] .= "<meta name=\"description\" content=\"";
$sts->template['headertags'] .= (strlen($product_info_tags['products_description']) > 10) ? strip_tags($product_info_tags['products_description']) : strip_tags($breadcrumb_tags->trail_tags(' '));
$sts->template['headertags'] .= "\"><meta name=\"keywords\" content=\"";
$sts->template['headertags'] .= strip_tags($breadcrumb_tags->trail_tags(', '));
$sts->template['headertags'] .= "\">";
// Header Tags for novices w/STS
Posted 30 January 2007, 03:38
<head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Parts and Things - DVD Movies</title><meta name="description" content="DVD Movies"><meta name="keywords" content="DVD Movies"><base href="http://www.partsanthings.com/catalog/">
Posted 30 January 2007, 04:53
$sts->template['headertags']= "<title>" . TITLE ."</title>";
// Header Tags for novices w/STS v4.3.3 BOF
$sts->template['headertags']= "<title>";
// $sts->template['headertags'] .= (strlen($breadcrumb_tags->trail_tags('')) > 0) ? TITLE . ' - ' . $breadcrumb_tags->trail_tags(' - ') : TITLE;
$sts->template['headertags'] .= $header_tags[title_tag];
$sts->template['headertags'] .= ' - ' . TITLE;
$sts->template['headertags'] .= "</title>";
$sts->template['headertags'] .= "<meta name=\"description\" content=\"";
$sts->template['headertags'] .= $header_tags[desc_tag];
$sts->template['headertags'] .= "\"><meta name=\"keywords\" content=\"";
$sts->template['headertags'] .= $header_tags[keywords_tag];
$sts->template['headertags'] .= "\">";
// Header Tags for novices EOF
Edited by bigal50, 30 January 2007, 04:56.
Posted 30 January 2007, 17:55
Quote
Posted 30 January 2007, 21:42
Posted 30 January 2007, 21:48
Posted 30 January 2007, 21:56
Quote
Edited by GemRock, 30 January 2007, 21:57.
Posted 30 January 2007, 22:01
Edited by Patty, 30 January 2007, 22:02.
Posted 30 January 2007, 22:37
Patty, on Jan 30 2007, 10:01 PM, said:
Posted 31 January 2007, 14:05
Posted 31 January 2007, 16:02
echo "<td class=\"smallText\" align=\"left\">".$products['products_name']."</td>\n";Replace it with:
echo "<td class=\"smallText\" align=\"left\"><a href=" . tep_href_link_shop('product_info.php?products_id='. $products['products_id']). ">".$products['products_name']."</a></td>\n";
Save & close.// The HTML href link wrapper function used in header tags edit HT4N - GemRock
function tep_href_link_shop($page = '', $parameters = '', $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true) {
global $request_type, $session_started, $SID;
if (!tep_not_null($page)) {
die('</td></tr></table></td></tr></table><br><br><font color="#ff0000"><b>Error!</b></font><br><br><b>Unable to determine the page link!<br><br>');
}
if ($connection == 'NONSSL') {
$link = HTTP_SERVER . DIR_WS_HTTP_CATALOG;
} elseif ($connection == 'SSL') {
if (ENABLE_SSL == true) {
$link = HTTPS_SERVER . DIR_WS_HTTPS_CATALOG;
} else {
$link = HTTP_SERVER . DIR_WS_HTTP_CATALOG;
}
} else {
die('</td></tr></table></td></tr></table><br><br><font color="#ff0000"><b>Error!</b></font><br><br><b>Unable to determine connection method on a link!<br><br>Known methods: NONSSL SSL</b><br><br>');
}
if (tep_not_null($parameters)) {
$link .= $page . '?' . tep_output_string($parameters);
$separator = '&';
} else {
$link .= $page;
$separator = '?';
}
while ( (substr($link, -1) == '&') || (substr($link, -1) == '?') ) $link = substr($link, 0, -1);
// Add the session ID when moving from different HTTP and HTTPS servers, or when SID is defined
if ( ($add_session_id == true) && ($session_started == true) && (SESSION_FORCE_COOKIE_USE == 'False') ) {
if (tep_not_null($SID)) {
$_sid = $SID;
} elseif ( ( ($request_type == 'NONSSL') && ($connection == 'SSL') && (ENABLE_SSL == true) ) || ( ($request_type == 'SSL') && ($connection == 'NONSSL') ) ) {
if (HTTP_COOKIE_DOMAIN != HTTPS_COOKIE_DOMAIN) {
$_sid = tep_session_name() . '=' . tep_session_id();
}
}
}
if ( (SEARCH_ENGINE_FRIENDLY_URLS == 'true') && ($search_engine_safe == true) ) {
while (strstr($link, '&&')) $link = str_replace('&&', '&', $link);
$link = str_replace('?', '/', $link);
$link = str_replace('&', '/', $link);
$link = str_replace('=', '/', $link);
$separator = '?';
}
if (isset($_sid)) {
$link .= $separator . tep_output_string($_sid);
}
return $link;
}
save & close.Edited by GemRock, 31 January 2007, 16:04.
Posted 01 February 2007, 11:29
Posted 01 February 2007, 12:02
Posted 01 February 2007, 14:08
Posted 03 February 2007, 11:41
Posted 03 February 2007, 12:43
Talle, on Feb 3 2007, 11:41 AM, said:
<title><?php echo $header_tags[title_tag]; ?></title>1. you could enter whatever you like in the title tags field (column) in header tags edit page, e.g., productname - shop name. or
<title><?php echo $header_tags[products_name] . '-' . $categories['categories_name'] . '-' . TITLE; ?></title>assuming your shop's TITLE is defined by using your shop name. You could replace '-' with space, ie, ' ', if you dont want '-' between product name and category name.
'-' . $categories['categories_name'] .
Edited by GemRock, 03 February 2007, 12:46.
Posted 03 February 2007, 17:07
Posted 04 February 2007, 18:35
Posted 04 February 2007, 21:40
Talle, on Feb 4 2007, 06:35 PM, said: