Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Removing 'Top' from the page header strip


Guest

Recommended Posts

Posted

I have several version of Oscommerce in operation, but none commerciall yet, I am still finding my feet basically. My question is: as far as I can see a lot of people are leaving the 'top' link in their header strip, before: >>catalog>>cartcontents , 'Top' has been setup to link to the root file of your site if I understand things right, so I have removed Top by removing the html link in the relevant file, am I right in thinking it has no other effect on the cart as it's just an HTML link right?

 

thanks. Sean

Posted

I changed Top to Home. More intuitive.

 

You can remove Top if you want, should't cause any problems if you do it correctly. Watch your breadcrumbs on your sub-pages to see that it gets written right after you remove Top.

 

-jared

Posted
Watch your breadcrumbs on your sub-pages to see that it gets written right after you remove Top.

 

I'm not familiar with the breadcrumbs, can anyone explain where they are and what they're purpose is please? regards. Sean

Posted

Breadcrumb is the thing at the top of your site that gives the user a way to backgrack:

 

Top >> Catalog >> Etc ...

 

As for "Top", I've also changed mine to "Home", this is done in:

 

/includes/languages/english.php

#define('HEADER_TITLE_TOP', 'Home');

 

Thus, clicking it will bring you home. As for removing it... just set that text to "" if you don't want it showing up.

 

/dak

Posted

the correct approach is in application_top.php

// 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));

 

comment out the first line to give

// 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));

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Posted
the correct approach is in application_top.php

Cool, thanks for the tip!

 

I've kept "Home" and actually gotten rid of "Catalog" ... for my purposes the two will always point to the same location.

 

/dak

Posted
the correct approach is in application_top.php

Cool, thanks for the tip!

 

I've kept "Home" and actually gotten rid of "Catalog" ... for my purposes the two will always point to the same location.

 

/dak

It all depends on whether or not you have your osc installed to the root or in a directory such as catalog.

 

Glad the tip was of some use to you :D

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

  • 1 month later...
Posted

I have my store in 2 frames.

 

a header... (just logo banner) top frame

 

and the catalog in mainframe.

 

 

when you click 'TOP' in breadcrumb it shows the header banner again...

 

i am so deep in the mix I was wondering if someone can savemy sanity and kinda direct me.

 

I know it should be kinda painless... like add target="mainframe" or something...

Archived

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

×
×
  • Create New...