Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Tried to edit main page and messed up badly


Nated

Recommended Posts

Posted

Not sure I understand your question.

 

Have you lost / deleted index.php?

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Posted
What should be the code for the main page (index.php) of the site

 

thanks

 

 

catalog/includes/languages/MYLANGUAGE/index.php

 

define('TEXT_MAIN', '');

Posted

Alright, got that fixed, could somebody please tell me the real way to edit the main page of the site and get rid of the default text :P and how to change the main logo too

 

thanks

Posted
Alright, got that fixed, could somebody please tell me the real way to edit the main page of the site and get rid of the default text :P and how to change the main logo too

 

thanks

Hi,

An excellent collection of "how-to" tips (how to take out the osCommerce logo and put your own, change text on main page, change info boxes, etc.) can be found at

http://www.oscommerce.com/forums/index.php?showtopic=274968

I think the above collection does say how to change the text in the footer (that appears on all the pages of the site). If you want to edit the footer, go to Catalog/includes/languages/English.php - and take care to change only the bits that are between the (' and ') signs, namely:

 

define('FOOTER_TEXT_BODY', 'Copyright © ' . date('Y') . ' <a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . STORE_NAME . '</a>

<br>

 

type here YOUR COMPANY NAME, ADDRESS, EMAIL ADDRESS, place images if you want to, etc.

 

<br>Powered by <a href="http://www.oscommerce.com" target="_blank">osCommerce</a>')

 

Please note: I have taken out the counter from the footer - and now can not remember where exactly it was positioned; it might have been somewhere in the lines quoted above. In any case, whatever you change, record it - and make a back-up before you change it (it is enough to open the file in your HTML/PHP editor, copy the code and paste it in a Word document), so that you can restore defaults in proper places if you are not happy with the changes.

Lana

Archived

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

×
×
  • Create New...