Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing breadcrumb separator-Possible?


akmac

Recommended Posts

Admitted noob-learning by trying.

 

Every breadcrumb modification (my own) I've tried has broken my site. I'm wondering what changes I need to make to this line of code to display a small image instead of a "»".

 

------------------------------------------------------------------------------------

 

<td align="left" bgcolor="#cccccc"> <?php echo $breadcrumb->trail(' » '); ?></td>

 

 

------------------------------------------------------------------------------------

 

I've attempted to use tep_get_image, and created a:

 

define('HEADER_TITLE_BREADCRUMB_SEPARATOR', '<img src="images/grey_arrow.gif" align="absbottom"');

 

in english.php. But I think my syntax or logic is flawed because the first one breaks the site completely, and the second shows "HEADER_TITLE_BREADCRUMB_SEPARATOR" in the breadcrumb instead of displaying the image.

 

Any ideas from some seasoned veterans?

 

-akmac

Quidquid latine dictum sit, profundum viditur.

Link to comment
Share on other sites

All credit to google and Johnson:

 

In catalog/includes/header.php:

 

----------------------------------

<td class="headerNavigation">  <?php echo $breadcrumb->trail(' ' . tep_image(DIR_WS_IMAGES . 'arrow.gif') . ' '); ?></td>

----------------------------------

 

Thanks johnson-works like a charm.

Quidquid latine dictum sit, profundum viditur.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...