Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to remove the text from main page??


peter888

Recommended Posts

I try to remove the following text from the main page. in the catalog/index.php???

because I installed a login box's contribution on the right column.

How to remove the following text from main page??

 

"

What's New Here?

 

 

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

 

"

 

 

Thanks for help

Link to comment
Share on other sites

Below this code in your index.php you will find what is on the default oscommerce page:

<?php

} else { // default page

?>

 

<?php echo HEADING_TITLE; ?> // What's New Here?
<?php echo tep_customer_greeting(); ?> //Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account?

 

You can change the text for those two lines in the includes/languages/english/index.php and includes/languages/english.php.

Other great Open Source (Free) programs: (Free as in free speech not free beer)

The Gimp - An image program. | Firefox - All you have to do is add the Web Developer add-on to make this web browser complete. | FileZilla - An ftp program. | Inkscape - A good program to create images with. | Thunderbird - An email program. | Openoffice.org - An office suite that is compatible with MS Office. | Abiword - Another office suite. | Audacity - A sound recording tool. | ddp's Picks | Wordpress - An easy to use blogging software. | Joomla - An easy to use CMS that has ecommerce plug-ins. | Drupal - Another CMS

How do I find these programs? Google Search!

Link to comment
Share on other sites

  • 2 months later...

I just love this programme, it makes a real idiot out of any half decent person.

I can not find the files that are discussed above.

Can you give me very clear directions, I have just spent 1 1/4 hours searching to no avail, it looks like a 2 minute job.

 

Cheers

Link to comment
Share on other sites

Trophy, I too tried for ages to find the 'Whats new here' line. You would expect it to be at the top of the code page as it's at the top of your catalog page, but no... I found it way down at the bottom. Have a look further down!

 

The default oscommerce page is the one that's already present when you download the store. It contains information on how to get rid of the default text on your first page. You just overwrite the code with the text you want there instead.

 

Hope this helps, I'm a total newbie with all this and after a week of frustrating head scratching, I'm just starting to find my way around!

 

Jon

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...