Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

replacing text in breadcrumb with images ...


ochikumb

Recommended Posts

Hi,

 

I am customizing an oscommerce store and have replaced the the text in the "Top > catalog ..." breadcrumb with labeled images via .../languages/english.php.

 

I get a correct display with all other browsers as seen here: http://www.chameleonisland.co.nz/catalog {Make sure you use any other browser other than IE6}

 

However, when I use IE6, the breadcrumb images show up in a vertical line instead of horizontal {try viewing the above URL with IE6}.

 

Does anyone have a clue as to how I can fix this problem? ... your help will be greatly appreciated.

 

Cheers

Ollie

Link to comment
Share on other sites

Hi,

 

I am customizing an oscommerce store and have replaced the the text in the "Top > catalog ..." breadcrumb with labeled images via .../languages/english.php.

 

I get a correct display with all other browsers as seen here: http://www.chameleonisland.co.nz/catalog {Make sure you use any other browser other than IE6}

 

However, when I use IE6, the breadcrumb images show up in a vertical line instead of horizontal {try viewing the above URL with IE6}.

 

Does anyone have a clue as to how I can fix this problem? ... your help will be greatly appreciated.

 

Cheers

Ollie

 

I found the problem and it was in my /catalog/includes/header.php and I changed this:

 

<tr>

<td colspan="2" align="center" class="breadcrumbarea">  <?php echo $breadcrumb->trail(' » '); ?><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="breadcrumbarea"><?php echo HEADER_TITLE_LOGOFF; ?></a>    <?php } ?><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="breadcrumbarea"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>    <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="breadcrumbarea"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a>    <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="breadcrumbarea"><?php echo HEADER_TITLE_CHECKOUT; ?></a>   </td>

</tr>

 

to:

 

<tr>

<td colspan="2" align="center" class="breadcrumbarea">  <?php echo $breadcrumb->trail(' » '); ?><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="inline"><?php echo HEADER_TITLE_LOGOFF; ?></a>    <?php } ?><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="inline"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>    <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="inline"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a>    <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="inline"><?php echo HEADER_TITLE_CHECKOUT; ?></a>   </td>

</tr>

 

Now all browers show the breadcrumb trail correctly ... Note that its the class that I changed from "breadcrumbarea" to "inline".

 

Cheers

Ollie

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...