Having a slight problem with the google breadcrumb.
My question is shouldn't the below have another </li>?
function trail($separator = ' - ') {
$trail_string = '';
for ($i=0, $n=sizeof($this->_trail); $i<$n; $i++) {
if (isset($this->_trail[$i]['link']) && tep_not_null($this->_trail[$i]['link'])) {
$trail_string .= '<li><a href="' . $this->_trail[$i]['link'] . '" class="headerNavigation">' . $this->_trail[$i]['title'] . '</a>';
} else {
$trail_string .= '<li>' . $this->_trail[$i]['title'];
}
if (($i+1) < $n) $trail_string .= $separator;
$trail_string .= '</li>';
}
return $trail_string;
}
}
?>
This is two opens but only one close....... Displays as a list - below each other rather than beside each other. Is this correct?
If it should please let me know where to place it.
Thanks for your time.
Latest News: (loading..)
christos
Member Since 27 Mar 2009Offline Last Active Oct 16 2011, 14:30






Find content
Male
