osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Displaying Top Level Category List / Losing Breadcrumbs

This is a discussion on Displaying Top Level Category List / Losing Breadcrumbs within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; Just wondering if anyone else has seen this behaviour. After initially setting up my site and adding lots of products ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 02-04-2004, 07:54 AM
Anonymous
Guest
 
Posts: n/a
Default Displaying Top Level Category List / Losing Breadcrumbs

Just wondering if anyone else has seen this behaviour. After initially setting up my site and adding lots of products it occured to me that there is no link to view the top level category contents anywhere. Unless I missed it.

In my set up the default breadcrumbs "Top > Category" for me both point to http://www.extrememetal.co.uk since the catalog directory is actually the root directory of my site. It seem rather silly to have both of these set to the same thing so I altered the link for "Category" to http://www.extrememetal.co.uk?cPath=0

Unfortunately this has the annoying side effect of losing the breadcrumb information. because every category I browse through after clicking it fails to display and breadcrumb info other than the default.

Can anyone help?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 02-05-2004, 01:24 AM
New Member
 
Join Date: Jan 2004
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
SWILLIAMS
Default Replace breadcrumb Top>Catalog

Go to catalog/includes/application_top.php. Look for:

// include the breadcrumb class and start the breadcrumb trail
require(DIR_WS_CLASSES . 'breadcrumb.php');
$breadcrumb = new breadcrumb;

$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);
$breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT));

Delete or commment out the line with HEADER_TITLE_TOP

Then go to catalog/includes/languages/english.php and look for:

define('HEADER_TITLE_CATALOG', 'Catalog');

Change the last word 'Catalog' to what ever you like, for example 'Home'

That's it you should now see Top>Catalog replaced by Home.

This little mod has been working fine for me.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Displaying Subcategories on Category Pages Dubious osCMax v2 Features Discussion 4 01-05-2007 08:26 AM
Adding Category Descriptions in Category List for each Cat. el1jones osCMax v2 Customization/Mods 1 03-15-2006 01:37 AM
add 2nd menu category level mikeyboy osCMax v1.7 Discussion 0 08-27-2004 02:50 AM
Category list Box starview osCommerce 2.2 Modification Help 1 07-08-2004 03:14 PM
displaying selected products within a category phlanet osCommerce 2.2 Modification Help 0 10-30-2002 01:13 PM


All times are GMT -8. The time now is 04:40 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax