Open link in new window
sinbad <[email protected]>
| Newsgroups | gmane.comp.web.oscommerce.contributions |
|---|---|
| Message-ID | <3b601c884f05a33e6c14eab4d524a2db@osCommerce-Forums> |
This message was sent from: Contributions
http://forums.oscommerce.com/viewtopic.php?p=226888#226888
----------------------------------------------------------------
First I like to say thanks to all of you who shared this information. I have been trying to get it to open in new window using the java script suggestion however I kept receiving parse errors and such. If someone could help me out with this I would appreiciate it.
[code]// the following cPath references come from application_top.php
$category_depth = 'top';
if (isset($cPath) && tep_not_null($cPath)) {
if ( $cPath == '50_52' ) // replace 50_52 with your cPath number
{
header( 'Location: http://www.sitename.com' ); // replace with your external URL
exit;
} [/code]