Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Editing The front page


shoofixmafi

Recommended Posts

Hi

 

How can I edit the front page of osCommerce ?

 

where it starts with :

 

 

 

What's New Here?

 

 

Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account?

 

 

 

Thanks

:-"

Link to comment
Share on other sites

in admin tools, define languages

 

oops, wrong one, try this:

 

includes, languages/english.php

 

line 286 = define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s"><u>log yourself in</u></a>? Or would you prefer to <a href="%s"><u>create an account</u></a>?');

Link to comment
Share on other sites

Browse to this folder:

Catalog/Includes/Languages/English

 

Then you will edit the index.php file at the bottom, it looks like this:

} elseif ($category_depth == 'top') {

define('HEADING_TITLE', 'What\'s New Here?');

} elseif ($category_depth == 'nested') {

define('HEADING_TITLE', 'Categories');

}

?>

 

You can change the What\'s New Here to your own heading title. Be sure to put a backslash \ in front of any apostrophes ' like \' or it will give you an error. He\'s , not He's ok? Good.

If you want to edit the actual text of the front page, meaning the main part of the page do this.

At the top of this same file, index.php, you will see:

 

"define('TEXT_MAIN', 'This is a default... ');

 

You need to erase all the text between to the apostrophes ' '. Then you will have:

 

define('TEXT_MAIN', '');

 

Then type your new text:

 

define('TEXT_MAIN', 'Welcome to mysite.com or whatever');

 

Simple enough? PM me for more.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...