Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Header Help


jman33

Recommended Posts

I am looking to customize the header bar that contains Top>>Catalog on the left and on the right has My Account Cart Contents and Checkout. I would like to change where you go when Top is clicked. What file contains the info to edit these items? Thank you.

Link to comment
Share on other sites

includes/application_top.php

 

change this:

 

$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);

 

to something like this:

 

$breadcrumb->add(HEADER_TITLE_TOP, 'http://anotherdomain.com');

 

or:

 

$breadcrumb->add(HEADER_TITLE_TOP, 'anotherpage.php');

 

Vger

Link to comment
Share on other sites

actually i need a little more help. i got my first problem resolved just fine but i was checking some things out in the store i am setting up. for some reason when you click "My Account", "Checkout", "log yourself in", or "create an account" it comes up error 404 cannot find the page on the server. i have checked and the files are there on the server. everything is installed correctly as oscommerce was installed using the power tool features on the web server. the way the site is set up is the following: i have a couple of websites under one hosting plan. there is one main domain and then the rest are pointers. they store is installed under one of the pointers. is there something special that needs to be done as i noticed the path of the url to the items starts with the main domain. i don't understand why that wouldn't work. if anyone has some clues or ideas that would be great.

Link to comment
Share on other sites

ok nevermind. i took care of it in the configuration files.

 

ok so not really. i screwed up my configure file. now when i am at the admin panel i have link problems. for example i click on configuration and get

The requested URL /mmc/catalog/admin/configuration.php was not found on this server.

 

if you take out the mmc it works just fine. i need to figure out what is wrong in my configure.php file. i messed around with some stuff and probably made it worse. help is greatly appreciated on this one. here is the configure.php file

 

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://www.monstermountaincomputers.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'http://www.monstermountaincomputers.com');

//define('HTTPS_CATALOG_SERVER', 'http://www.monstermountaincomputers.com');

define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', '/var/www/html/mmc/catalog/'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required

define('DIR_FS_ADMIN', '/catalog/admin/'); // absolute pate required

define('DIR_WS_CATALOG', '/catalog/'); // absolute path required

define('DIR_FS_CATALOG', '/var/www/html/mmc/catalog/'); // absolute path required

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...