pertho Posted April 9, 2008 Posted April 9, 2008 I have a quistion about the navigationeline, e.g. this one on product_info.php. I any of my article I use both "Product name" and "product model". See this example. But.... the field "Product Model" is in the navigationline insted of the field " Product name" Hove can I change this? The navigationline is created in includes/header.php, and I mean it is in this line: <td class="headerNavigation"> <?php echo $breadcrumb->trail(' » '); ?></td> includes/classes/breadcrumb.php looks lige this: <?php /* $Id: breadcrumb.php,v 1.3 2003/02/11 00:04:50 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ class breadcrumb { var $_trail; function breadcrumb() { $this->reset(); } function reset() { $this->_trail = array(); } function add($title, $link = '') { $this->_trail[] = array('title' => $title, 'link' => $link); } 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 .= '<a href="' . $this->_trail[$i]['link'] . '" class="headerNavigation">' . $this->_trail[$i]['title'] . '</a>'; } else { $trail_string .= $this->_trail[$i]['title']; } if (($i+1) < $n) $trail_string .= $separator; } return $trail_string; } } ?> I can not se hvat I shall change there. Can you hele me?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.