Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

removing "TOP" from site navigation?


Guest

Recommended Posts

Posted

Hello -

 

I have a store loading in a frameset (www.theteddybearabbey.com/onlinestore.htm). The "navigation_history.php", though, displays "Top >> Catalog >> etc.", with the "Top" link reloading the *entire frameset* into the online store's frame. All I want to do is eliminate the "Top" element from the navigation... Any suggestions? Thank you!

Posted

eidt includes/languages/english.php or english/index.php I think...

 

hth TJ

 

Hello -

 

I have a store loading in a frameset (www.theteddybearabbey.com/onlinestore.htm). The "navigation_history.php", though, displays "Top >> Catalog >> etc.", with the "Top" link reloading the *entire frameset* into the online store's frame. All I want to do is eliminate the "Top" element from the navigation... Any suggestions? Thank you!

Posted

TJ -

 

Thank you *very* much for your help!

 

- Rob

 

eidt includes/languages/english.php  or english/index.php I think...

 

hth  TJ

Posted

Actually, to remove the 'Top' link from your navigation you need to go to includes/application_top.php, and where you find this:

 

$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);

 

change it to:

 

//$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);

 

Vger

Posted

Or if you want to change it to something else, then the language file, right?

 

 

 

Actually, to remove the 'Top' link from your navigation you need to go to includes/application_top.php, and where you find this:

 

$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);

 

change it to:

 

//$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);

 

Vger

Posted

If you just want to rename it then includes/languages/english.php is the right place to go - but Robert wants to delete it entirely from the nav. In any event I recommend that Robert goes to includes/languages/english.php and changes 'catalog' to 'Home'

 

Vger

Posted

No sh** :)

 

We should write a thesis on catalog "top" functions and how they interact with society.

 

 

 

Im sure Robert will be glad for all the help

 

LOL :P

 

heheh couldnt help it

Posted

About 40 Pounds. King Salmon from my backyard in Oregon :)

I think we caught 260 pounds this year...

 

 

 

wow buddy!  how much did that fish weigh.... is that a Bass?

Posted

FWIW folks, I edited (my) line 55 of includes/languages/english.php from

 

define('HEADER_TITLE_TOP', 'Top');

 

to

 

define('HEADER_TITLE_TOP', '');

 

... Now... instead of the navigation looking like this:

 

Top >> Catalog >> etc...

 

... it looks a bit like this:

 

>> Catalog >> etc...

 

Close enough!

 

- Rob

Posted
FWIW folks, I edited (my) line 55 of includes/languages/english.php from

 

define('HEADER_TITLE_TOP', 'Top');

 

to

 

define('HEADER_TITLE_TOP', '');

 

... Now... instead of the navigation looking like this:

 

Top >> Catalog >> etc...

 

... it looks a bit like this:

 

>> Catalog >> etc...

 

Close enough!

 

- Rob

 

Glad you got it fixed. Good to get your hands in the code huh? Thats how my interest got sparked.

 

About 40 Pounds. King Salmon from my backyard in Oregon smile.gif

I think we caught 260 pounds this year...

 

Good Lord Man! Ahhhh .... Oregon sounds nice ;) I just got into fishing in 2004.....Now I daydream of going fishin......

....whats that honey....the trash needs to be taken out.... .......THATS IT! Im going fishin!

 

Just joking.......that only worked for maybe two times.....then my wife figured it out :lol: :lol: :lol: :lol:

Posted
Glad you got it fixed.  Good to get your hands in the code huh?  Thats how my interest got sparked.

 

Thanks - My usual chain of events in wrapping my noodle around *any* technology or language involves these steps:

 

1) Take something stable, with source.

2) Make a pot of coffee.

3) Bugger things up beyond repair. Swear, throw nearby items and kick/ yell at computer. Explain problem in great detail at blistering volume to *all* who are unable to flee.

4) Consult support forums or Google for issue resolution.

[repeat steps 3 - 4 several dozen times] :'(

 

B)

 

- Rob

Posted
FWIW folks, I edited (my) line 55 of includes/languages/english.php from

 

define('HEADER_TITLE_TOP', 'Top');

 

to

 

define('HEADER_TITLE_TOP', '');

 

... Now... instead of the navigation looking like this:

 

Top >> Catalog >> etc...

 

... it looks a bit like this:

 

>> Catalog >> etc...

 

Close enough!

 

- Rob

 

I just thought I'd mention that if you rather did what Vger said about commenting out that line in application_top.php, that extra >> in front of your breadcrumbs wouldn't show.

(instead of ">> Catalog .." it would be just "Catalog ...")

 

Also, I learned today, if you want to change those >> between breadcrumbs to something else (or remove it), open header.php and find

<?php echo $breadcrumb->trail(' » '); ?>

 

or if you use STS, open sts_display_output.php and find

$template['breadcrumbs'] = $breadcrumb->trail(' » ');

 

» means >>

Posted
» means >>

 

Is there a table somewhere that would list the codes for different characters? "»" does not strike me a familiar.

 

- Rob

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...