Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Links are duplicating the menu


toyzonline

Recommended Posts

Hi There,

 

I have used a template and then modified it with many contribs. Everything is fine apart from I have a couple of links when they are used are working but are duplicating some standard OS menus etc. I have changed this before but have forgotten how to, SORRY!

 

The following links are effected

 

Site Map

Specials

 

Could one of you guys or Gals give me a slap and a reminder of what it is I have to change. If you follow the links you will see what I mean about the duplicated menu & Boxes

 

Thanks a million in advance

Complete Newbie On The Learn - Not A Programmer

But Learning As I Go

Link to comment
Share on other sites

Any One? Pretty Please

 

SORRY FOR DUPLICATE POST WAS TRYING TO SIMPLY ENABLE REPLY NOTIFICATIONS

Complete Newbie On The Learn - Not A Programmer

But Learning As I Go

Link to comment
Share on other sites

have u made any changes recently?

 

I have been making lots of changes, however not to the specials.php and the site map is a new files. Which co-insides with the fact that my sites originates from a template. I know this makes it more dificult but I would appreciate any help at all, as these are probably the last if not next to last lose ends before we can start advertising.

 

 

Thanks a million

 

Ricardo

Complete Newbie On The Learn - Not A Programmer

But Learning As I Go

Link to comment
Share on other sites

I have been making lots of changes, however not to the specials.php and the site map is a new files. Which co-insides with the fact that my sites originates from a template. I know this makes it more dificult but I would appreciate any help at all, as these are probably the last if not next to last lose ends before we can start advertising.

 

 

Thanks a million

 

Ricardo

Hi,

 

Bit hard to explain without seeing the files because you are using a template but what you have to do is open the sitemap.php and then compare with other files that are in your shop/ example privacy.php, shipping.php or whatever you will have to change the sitemap.php to suit

for example this part of your shipping.php will probably have been changed!!!

 

<?php require(DIR_WS_INCLUDES . 'header.php'); ?>

<!-- header_eof //-->

 

<!-- body //-->

<table border="0" width="100%" cellspacing="0" cellpadding="0">

<tr>

<td class="left-column" width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="0">

 

What is happening is that the new files are still calling the old <!-- left_navigation //--> plus you are getting the template left_navigation

it will take a bit of trail and error I think, but by comparing the files and adjusting the html part of sitemap and specials to be identical with the template files you will get there.

 

The error that you are ALSO getting in the specials is possibly related so would worry about that later!

 

The files I am talking about are all found in catalog/ or shop/ or top level/ and the html changes you will have to make are found normally below

 

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">

<html <?php echo HTML_PARAMS; ?>>

<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>

<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">

To improve is to change; to be perfect is to change often.

 

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...