Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Header banner


gtlime

Recommended Posts

Hope some one can tell me where to find the part that has the header banner return to the main page.

 

The bottom one open up in a new page back to the main?

 

Is there a part of the script to edit?

 

Thanks

Link to comment
Share on other sites

In /includes/functions/banner.php is the line to open a new window:

      $banner_string = '<a href="' . tep_href_link(FILENAME_REDIRECT, 'action=banner&goto=' . $banner['banners_id']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $banner['banners_image'], $banner['banners_title']) . '</a>';

 

You might be better of just defining the logo in a different way.

 

Edit the /includes/header.php file and put your link, logo, etc. right in the code. I define mine in english so it can later be changed easier.

 

I use:

    <td valign="middle"><?php echo '<a href="' . HEADER_IMG_LINK . '">' . tep_image(DIR_WS_IMAGES . HEADER_IMG_PIC, HEADER_IMG_ALT) . '</a><BR>'; ?></td>

 

Then add to english.php ...

// for new window:

 define('HEADER_IMG_LINK','http://www.thewebmakerscorner.com" target="_blank');

// for same window:

 define('HEADER_IMG_LINK','http://www.thewebmakerscorner.com');

define('HEADER_IMG_PIC', 'thewebmakerscorner_logo.gif');

define('HEADER_IMG_ALT', ' Welcome to The WebMakers Mall ');

Link to comment
Share on other sites

You mean to just replace the oscommerce logo with your own. Its a file called oscommerce.gif, you could simple the file with your logo, or upload a new logo image files and edit the includes/header.php and change the file name reference in the first table.

Best Regards,

 

Salvatore Iozzia

 

Loaded Commerce - Oscommerce - All Loaded Up.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...