Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

flash logo


armandocerna

Recommended Posts

Posted

I succeeded in editing the header.php file and adding in code in order to display my flash logo but now the only problem is that it displays the flash logo on EVERY page with the header. Is there a way to build a custom header so it will only display the flash on main page or some kind of conditional in the header to check if it is loading the main page.

Posted

Ok. Here is what you do:

 

1.Create a copy of your header.php and name it header2.php.

2.Alter header2.php any way you like.

3.Open index.php and change this line:

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

to:

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

And thats all there is to it.

Archived

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

×
×
  • Create New...