Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Edit default.php


smitty

Recommended Posts

Posted

Hello,

 

I'm a really new newbie to osCommerce.

How do I properly edit the main page, default.php?

I've found two lines that I could replace with content,

<tr>

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

</tr>

<tr>

<td class="main"><br><?php echo TEXT_MAIN; ?></td>

</tr>

<tr>

but I'm sure there must be a browser based method...

 

Thanks and Best Regards,

 

Smitty

Posted

Thanks!

 

How do I find out which language file the TEXT_MAIN constant is defined in? I've not been able to locate it yet...

 

Is there a method to edit the content using a web browser or do you edit the language files and ftp them to your server?

 

Thanks and Best Regards,

 

Smitty

Posted

it is in /catalog/includes/languages/YOUR LANGUAGE/default.php

 

HTH :D

Posted

Thanks,

 

 

 

Any idea where " tep_customer_greeting() " is hiding? :o)

 

Thanks and Best Regards,

 

Smitty

Posted

That would be in /catalog/includes/languages/english.php

 

look for define('TEXT_GREETING_PERSONAL'....

 

HTH :D

Posted

Thanks,

 

It was there as stated.

Thanks for the help.

Is there any way through the admin section or through a module to edit the web pages using your browser?

 

Thanks to all, and Best Regards,

 

Smitty

Archived

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

×
×
  • Create New...