Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Redirect Header Logo Back to Home site


rcarmickle

Recommended Posts

Hi Folks, I give up and need your help. There are two things I would like to do. (1) I want to link the header logo back to my home page, in other words remove the "/store" from the path, and stop it from linking back to "index.php". (2) Change the name "Top" in the breadcrum trail to "Home". I have seached and searched for something in the forums, but can't find anything. Any help would be appreciated.

Ron

Link to comment
Share on other sites

(1) I want to link the header logo back to my home page

In /store/includes/header.php find ths code for the logo. It looks something like this:

 

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

Change to:

 

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

 

(2) Change the name "Top" in the breadcrum trail to "Home".

/store/includes/languages/english.php

 

Change this:

 

define('HEADER_TITLE_TOP', 'Top');

to

 

define('HEADER_TITLE_TOP', 'Home');

It's a good idea to backup any file before making any edits.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...