Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

breadcrumb goes to / instead of index.html or .php


Guest

Recommended Posts

Posted

at present, my "Top" breadcrumb goes to index.php (i have search engine url's... so it's pointing to index.html), how can i force it to go to / instead?

Posted

can anyone offer a suggestion? i've seen the solution here before, but i cannot find it in the search

Posted

I was wondering why we can't just change the define for DEFAULT to (/) instead of index.php.

 

Someone else asked this in the other post but nobody responded. I tried it and get parse errors. So maybe there is more to it than just putting in the slash.

 

Tim

  • 4 weeks later...
Posted

i have already tried that too, but it just produced a bunch of lang errors. i think other functions call upon the index.php, so it's probably easier making it separately defined.

Posted

The default behavior of osc does that ie goes to the root of the domain.

 

$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);

 

where HTTP_SERVER comes from the cofigure.php That should get you to the root of the domain.

Archived

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

×
×
  • Create New...