Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to change these?


rumi

Recommended Posts

I want to make the > in breadcrumb path go away or to substitute them for this: | instead. Ive tried editing TD.headerNavigation (which I thought was the style to edit) to make them the same color as my background but it didnt work.

Any ideas?

Link to comment
Share on other sites

I want to make the > in breadcrumb path go away or to substitute them for this: | instead. Ive tried editing TD.headerNavigation (which I thought was the style to edit) to make them the same color as my background but it didnt work.

Any ideas?

this is just a guess, and a quick (incomplete) answer because i'm heading out the door, but look in catalog/includes/header.php and find

$breadcrumb->trail(' » ');

 

 

change the » for whatever you want. don't off the top of my head know what it's supposed to be for a vertical line, but i'll look it up when i get home if you don't have it.

 

i suspect that it will give you two lines if you make that change

 

rj

Link to comment
Share on other sites

this is just a guess, and a quick (incomplete) answer because i'm heading out the door, but look in catalog/includes/header.php and find

$breadcrumb->trail(' » ');

change the » for whatever you want. don't off the top of my head know what it's supposed to be for a vertical line, but i'll look it up when i get home if you don't have it.

 

i suspect that it will give you two lines if you make that change

 

rj

 

Thank you. I removed » and replaced with | (vertical line) but it didnt work. I will do some searching around to find the correct numbers to use. It will work!

Link to comment
Share on other sites

Thank you. I removed » and replaced with | (vertical line) but it didnt work. I will do some searching around to find the correct numbers to use. It will work!

I used the ∧ then the numbers 124; but it works on this page? strange

Link to comment
Share on other sites

Thank you. I removed & raquo ; and replaced with | (vertical line) but it didnt work. I will do some searching around to find the correct numbers to use. It will work!

 

 

sorry it took me a while to get back to you.

 

open catalog/includes/header.php

find "& raquo ;" and replace with "& #124 ;" (delete the spaces, which i had to insert to prevent the forum software from actually printing a vertical bar)

 

this will give you a solid vertical bar, like this: |.

for a broken bar, like this: ¦, use "& brvbar ;" (again, delete spaces)

 

don't confuse the double quotes and spaces that i've used here with the single quotes and spaces that are in the original code. the former i'm only using because of the forum software, the latter are necessary for the php coding.

 

save and upload.

 

this will work, and not give you two lines as i incorrectly suspected earlier, because & raquo itself codes for the double arrow.

 

for your edification, these sort of things are called Unicode HTML Entities. some of these have names, like & raquo;, but all of them have numeric codes (like the vertical bar, which has a numeric code, but not a named code).

 

to find the correct code for you i googled "unicode vertical bar". (give someone a fish, or teach them to fish)

Link to comment
Share on other sites

...(give someone a fish, or teach them to fish)

 

ah, sorry about that, i hadn't seen your earlier post that you had already found the appropriate code. but the google search phrase will be useful to others facing the same problem

 

it needs to be written as & # 124 ; (i suspect you weren't using the pound sign).

 

rj

Link to comment
Share on other sites

sorry it took me a while to get back to you.

 

open catalog/includes/header.php

find "& raquo ;" and replace with "& #124 ;" (delete the spaces, which i had to insert to prevent the forum software from actually printing a vertical bar)

 

this will give you a solid vertical bar, like this: |.

for a broken bar, like this: ¦, use "& brvbar ;" (again, delete spaces)

 

don't confuse the double quotes and spaces that i've used here with the single quotes and spaces that are in the original code. the former i'm only using because of the forum software, the latter are necessary for the php coding.

 

save and upload.

 

this will work, and not give you two lines as i incorrectly suspected earlier, because & raquo itself codes for the double arrow.

 

for your edification, these sort of things are called Unicode HTML Entities. some of these have names, like & raquo;, but all of them have numeric codes (like the vertical bar, which has a numeric code, but not a named code).

 

to find the correct code for you i googled "unicode vertical bar". (give someone a fish, or teach them to fish)

 

 

Thank you for your help.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...