Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Change welcome page


Guest

Recommended Posts

How would one go about changing the welcome page to remove the disclaimer that says it's only a sample, not real items, etc.? I poked around index.php and default.php and found nothing.

Link to comment
Share on other sites

Doesn't seem to help. Perhaps if someone could just let me know what part of the page this is commonly referred to as, I could find something on it. However, there seems to be no documentation on any welcome messages.

Link to comment
Share on other sites

you can change the welcome page for each language in the following file(s):

 

 

catalog/includes/languages/english/index.php

catalog/includes/languages/spanish/index.php

catalog/includes/languages/german/index.php\

 

 

 

you change the text between the

 

define('TEXT_MAIN', '

 

and the

 

');

 

right before the New Products line

 

you can use html if you want

Link to comment
Share on other sites

I have looked in the location where index.php and defult.php and cannot fine them.

 

Can anyone help me out, im getting really annoyed that I cannot remove the text about it being a demo etc.

 

Many thanks in advance.

 

Chris

 

www.fantasy-angels.com/dvd

Link to comment
Share on other sites

Do you have to edit them all for it to work just in english.

 

Please have a look at my site and see if you can help.

www.fantasy-angels.com/dvd

 

Cheers

Link to comment
Share on other sites

I had the same problem when I used the built in editor in the admin file manager. My advice, for what its worth as another newbie(!), is to take a copy of the original index.php into a local directory on your PC and edit it with wordpad or similar.

 

I actually cut and paste the part between define('TEXT_MAIN', ' and the '); into frontpage, placing it between the <body> </body> tabs in HTML view. I then switched to normal view and made my changes, then back to HTML view and reselected the text between the <body> </body> tabs. finally pasted this code back into the index.php and ftped it back to the server.

 

Worked for me :D

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...