davejones Posted July 1, 2004 Posted July 1, 2004 i used this: http://wiki.oscommerce.com/TextSearch?phra...atBoxGenCatName to help me sort out the category names. i used the easit method they describe: 1. In catalog/include/classes/breadcrumb.php add the following subroutine: // start of added code for category/subcategory names function last() { $trail_size = sizeof($this->_trail); return $this->_trail[$trail_size-1]['title']; } // end of added code I added it after: function breadcrumb() { $this->reset(); } function reset() { $this->_trail = array(); } In in catalog/index.php (back it up first!), change the first 2 occurrences of HEADING_TITLE (line 66 & line 232). From: <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> To: <td class="pageHeading"><?php echo $breadcrumb->last(); ?></td> This way will require more changes but just a few. but on my main page i get the "whats new here?" on there. how do i remove this? my webbie is: http://www.thepccentre.com/online
davejones Posted July 2, 2004 Author Posted July 2, 2004 thnak you - i should have read the code - but problem was didnt know which file lol! :D
Recommended Posts
Archived
This topic is now archived and is closed to further replies.