Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Header logo link to index.html


account1000

Recommended Posts

  • 6 months later...

I would like to know as well!

 

<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'logo.jpg', 'Boxes on the Move') . '</a>'; ?></td>

 

What do I change to make it link to my index site?

 

My first post on here I think!

No Boxes? No Problem!

We Sell Boxes and Moving Supplies for LESS!

 

Ken Combden

Boxes on the Move

(905)720-2005

Link to comment
Share on other sites

In catalog/includes/header.php

 

change

 

<?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'your_logo.jpg', STORE_NAME) . '</a>'; ?>

 

To

 

<?php echo '<a href="' . tep_href_link('index.html') . '">' . tep_image(DIR_WS_IMAGES . 'your_logo.jpg', STORE_NAME) . '</a>'; ?>

 

Just tried it and it seems to work

if I had the faintest clue regarding exactly what it was that I may or may not be doing, I would stop it!!

Link to comment
Share on other sites

  • 3 years later...

tep_href_link() is for links to pages INSIDE the store only.

 

For pages OUTSIDE the store use simple HTML

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