simaster99 Posted July 19, 2004 Posted July 19, 2004 Top ? Catalog this link under the logo, Top goes to the root folder of the web host, the catalog link works okay. How do I correct this so it links to the right folder? Kind regards Simon :huh:
julianpuje Posted July 19, 2004 Posted July 19, 2004 I'm not sure where the "TOP" is supposed to go, but here is a copy of my English.php file, around line 20. It may help you check yours is similar. My catalog is now called "Home", but it shows you the layout. // header text in includes/header.php define('HEADER_TITLE_CREATE_ACCOUNT', 'CREATE AN ACCOUNT'); define('HEADER_TITLE_MY_ACCOUNT', 'MY ACCOUNT'); define('HEADER_TITLE_CART_CONTENTS', 'SHOPPING CART'); define('HEADER_TITLE_CHECKOUT', 'CHECKOUT'); define('HEADER_TITLE_TOP', 'TOP'); define('HEADER_TITLE_CATALOG', 'HOME'); define('HEADER_TITLE_LOGOFF', 'Sign Off'); define('HEADER_TITLE_LOGIN', 'Sign In'); A little knowledge is dangerous, I SHOULD KNOW. If Life Begins At 40, What ends????
241 Posted July 19, 2004 Posted July 19, 2004 it is done via catalog/includes/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)); as you can see top goes to server root and catalog goes to filename default which is set in filenames.php comment out the top if you do not want it this is done like this // $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER); 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! Is your Osc dated try Phoenix raising oscommerce from the ashes.
kngrnr Posted July 19, 2004 Posted July 19, 2004 change define('HEADER_TITLE_TOP', 'TOP'); to define('HEADER_TITLE_TOP', ''); and it will take out top what top is supposed to do is take you to your home page K Groner
kngrnr Posted July 19, 2004 Posted July 19, 2004 this might help you better then the last post i made.. in catalog/includes/change/application_top.php change $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER); $breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT)); to //$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER); $breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT)); you could also make changes to to rename what it says there define('HEADER_TITLE_TOP', [B]'HOME'[/B]); define('HEADER_TITLE_CATALOG', [B]'SHOP'[/B]); K Groner
WhiteBlade Posted August 14, 2004 Posted August 14, 2004 Anther solution, for exemple if you want to link the top link to another page. Like my catalog is on a shared ssl server so the link is something like http://www.secure-ssl.net/mydomain.com/ So the top link was http://www.secure-ssl.net wich was wrong, I needed http://www.mydomain.com In order to do that Change this in catalog/includes/change/application_top.php $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);$breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT)); to $breadcrumb->add(HEADER_TITLE_TOP, HTTP_HOME);$breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT)); And in catalog/includes/change/configure.php under define('HTTP_SERVER' add the following define('HTTP_HOME', 'http://www.mydoamin.com');
Recommended Posts
Archived
This topic is now archived and is closed to further replies.