Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I remove the heading title and image from the index page?


Guest

Recommended Posts

I want to remove the heading title and the image from the index page only, but I can't find where it is located. Can anyone tell me which files I need to modify?

Link to comment
Share on other sites

In your catalog/includes/header.php. find this line:

<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td>

 

its on line 57 of a clean install

 

edit the above like this:

(DIR_WS_IMAGES.'yourlogo.gif', 'yourAlternativeText')

don't add the path to your logo because DIR_WS_IMAGES. does it for you.

you can find all this in the osC documentation

Nick

Menou and unome

Link to comment
Share on other sites

In your catalog/includes/header.php. find this line:

<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td>

 

its on line 57 of a clean install

 

edit the above like this:

(DIR_WS_IMAGES.'yourlogo.gif', 'yourAlternativeText')

don't add the path to your logo because DIR_WS_IMAGES. does it for you.

you can find all this in the osC documentation

Nick

thanks Nick,

 

But I didn't explain it well. I mean the heading, for example 'whats new here' (the one that appears as standard on the index page. - I tried to comment it out in english/index.php but then got a message showing instead, something like text_heading_title, or something (can't remember what it was) How do I remove it completely? any ideas??

 

J

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...