CRE Loaded Community

Banner


Board index » Loaded Commerce Support » Tips & Tricks

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Modifying Breadcrumb output of homepage filename
PostPosted: Fri Jan 30, 2009 3:11 am 
Offline
CRE Newbie
User avatar

Joined: Fri Jan 30, 2009 3:07 am
Posts: 28
For the homepage, the breadcrumb function outputs "index.php". Is there anyway to get it to output either "/" or "http://www.domain.com/"?

I try and keep all my homepage links identical and having some point to the domain and others to the index.php page is not ideal.

Any input would be much appreciated.

Thanks!


Top
 Profile  
 
 Post subject: Re: Modifying Breadcrumb output of homepage filename
PostPosted: Sat Jan 31, 2009 9:07 am 
Offline
CRE Legend
User avatar

Joined: Fri Jan 13, 2006 1:00 am
Posts: 11074
Location: Nappanee Indiana
not without hard coding it.. it uses the reference default file name

open up
includes/application_top.php
around line 642 (depending on your version)
find
$breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT));

replace with
$breadcrumb->add(HEADER_TITLE_CATALOG, '/');

_________________
Jason Miller
https://www.creloadedexpert.com
CRE Loaded Expert Team
CRE Loaded Support
Home of the FIRST 100% tableless CRE Loaded template


Top
 Profile  
 
 Post subject: Re: Modifying Breadcrumb output of homepage filename
PostPosted: Mon Apr 19, 2010 7:08 pm 
Offline
CRE Talented
User avatar

Joined: Sat Apr 19, 2008 3:51 am
Posts: 431
Location: Tennessee
To check the following for yourself go here http://dragonstailmotorsports.com/

Make backups of any files before you edit and USE AT YOUR OWN RISK


This is in 6.4.1.a B2B

To remove TOP from the breadcrumbs

catalog/includes/application_top.php
add // to the front of line #563

Line #560 // include the breadcrumb class and start the breadcrumb trail
Line #561 require(DIR_FS_CLASSES . 'breadcrumb.php');
Line #562 $breadcrumb = new breadcrumb;
Line #563 // $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);


To change CATALOG in breadcrumbs to Dragons Tail Motorsports we did the following

In catalog/includes/languages/english.php this is what we did.

copied old line 121 pasted to make line 122
add // to line 121 (why delete it)

Modified line 122 to read as shown now breadcrumbs shows Dragons Tail Motorsports instead of Catalog


Line # 120 define('HEADER_TITLE_TOP', 'Top');
Line # 121 //define('HEADER_TITLE_CATALOG', 'Catalog');
Line # 122 define('HEADER_TITLE_CATALOG', 'Dragons Tail Motorsports');

_________________
Image
http://www.dragonstailmotorsports.com/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

Board index » Loaded Commerce Support » Tips & Tricks

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
It is currently Wed Feb 08, 2012 7:18 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Login

Top Listing

1. Cart2Cart - Shopping...
    Category: Shopping Cart Database Conversion Scripts
    
2. Points & Rewards PLUS!...
    Category: Add-Ons
    
3. Configuration Server...
    Category: Fixes
    
4. Credit Card with CCV
    Category: Payment Modules
    
5. CC7333_ATS
    Category: Templates
    
Show more...

Follow Us on Twitter

An error occurred

Oops, an error seems to have occurred. We're sorry for any inconvenience this might have caused. If the error persists, feel free to tell us about it.

CRE Loaded Community Chat hosted by CRE Loaded.

Join now


Chat about what's on your mind. More about public chats.


© CRE Loaded is a product of Chain Reaction Ecommerce, Inc. Usage & Privacy Policy