Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Home Page Header


dinger.bb

Recommended Posts

I've just got a new oscommerce website. Most things are ok but I don't like the 'Hello Guest, would you like to create a new account ....etc' wording in the Header at the top of the Home Page.

The Webmaster/Web Host says he can't change it (won'tt or can't, I'm not sure!), is there anybody who knows how please?

Thanks

dinger.bb

Link to comment
Share on other sites

I've just got a new oscommerce website. Most things are ok but I don't like the 'Hello Guest, would you like to create a new account ....etc' wording in the Header at the top of the Home Page.

The Webmaster/Web Host says he can't change it (won'tt or can't, I'm not sure!), is there anybody who knows how please?

Thanks

dinger.bb

 

Your right about your web master.

 

There are two ways you can handle that:

 

1. Instead of deleting the whole message just leave in the "" and delete the message, this will put a null field in there

 

- or -

 

2. comment out the whole line in the catalog/includes/languages/english.php line number 284 and 286 add // to the begining of the line. This will work the best.

 

Good luck

Link to comment
Share on other sites

Sorry I was not able to edit the post above.

 

 

the best place to edit this is in the index.php in catalog. the lines that say

 

<tr>

<td class = "main"><?php echo tep_customer_greeting></td>

</tr>

 

 

make it look like this

 

<!-- <tr>

<td class = "main"><?php echo tep_customer_greeting></td>

</tr> -->

 

This will fix your problem without breaking index.php

Link to comment
Share on other sites

In your root level index.php page just remove this piece of code:

 

<tr>
		<td class="main"><?php echo tep_customer_greeting(); ?></td>
	  </tr>

 

If you leave the above code in place and comment out the content for it in includes/languages/english.php then you'll get an error.

 

Vger

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...