Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Insert into <head>


djdork

Recommended Posts

Posted

I have a small javascript that needs to be between <head> and </head> of my frontpage:

<script type="text/javascript"><!--

img = new Image();

img.src = "http://xxxxxxxxxxxxxxxxxxxxx?r="+escape(document.referrer)+"&u="+escape(location.href)+"&id=xxxxx";

//--></script>

 

Om some of my other static sites I can just put the script between " <head> and </head>" of "index.html", but where does it go in Oscommerce?

 

Please help...

 

djdork

Posted

Samething but index.php

<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> 
<title><?php echo TITLE; ?></title>
<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
<link rel="stylesheet" type="text/css" href="stylesheet.css">
</head>

 

The_Bear

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...