Paper911.com

Wednesday, November 30, 2005

Breadcrump Mods

application_top.php

I changed the breadcrumb so that it does not display the true categorie structure if the user is viewing a custom product. In this case it shows "Custom Paper" as the last item

if (isset($cPath_array)) {
for ($i=0, $n=sizeof($cPath_array); $i<$n; $i++) {
if((int)$cPath_array[$i]==53){
$breadcrumb->add("Custom Papers", tep_href_link(FILENAME_CUSTOM));
break;
}

0 Comments:

Post a Comment

<< Home