Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to change default.php to index.php in Catalog part?


Cajrix

Recommended Posts

i have changed

 

define('FILENAME_DEFAULT', 'default.php');

 

to

 

define('FILENAME_DEFAULT', 'index.php');

 

and rename default.php to index.php

 

but then i received this warning

 

Warning: Failed opening 'includes/languages/english/index.php' for inclusion (include_path='.:/php/includes:/usr/share/php') in /home/httpd/vhosts/eshop.havagame.com/httpdocs/catalog/includes/include_once.php on line 4

 

have i to change something else in application_top.php?

<*))><

Link to comment
Share on other sites

In includes/languages/english you will find a file called default.php as well, rename this to index.php.

 

If you use other languages o your site , you will also have to change the filenames there as well

 

e.g. /includes/languages/german/default.php

 

HTH

Trust me, I'm an Accountant.

Link to comment
Share on other sites

hello how to change this ...

This is a demonstration online-shop, any products purchased will not be delivered nor billed. Any information seen on these products are to be treated fictional.

If you wish to download this sample shop, or to contribute to this project, please visit the support site. This shop is based on osCommerce 2.2-CVS.

Link to comment
Share on other sites

Ron,

 

They're getting too clever, they know that if they post mid thread it will show up in my email box as I'm automatically watching a thread I've posted too.

Trust me, I'm an Accountant.

Link to comment
Share on other sites

can i use notepad to change ?

define('NAVBAR_TITLE', 'THIS IS THE TEXT THAT SHOWS IN THE BREADCRUMB TRAIL');

define('HEADING_TITLE', 'THIS IS THE PAGE HEADLINE');

 

define('TEXT_INFORMATION', 'THIS IS THE MAIN TEXT FOR THE PAGE');

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...