Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

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


Guest

Recommended Posts

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 4 weeks later...

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...