kennonward Posted January 6, 2008 Share Posted January 6, 2008 How can I remove the basic text on the main page that comes from the initial install. I went to the file it references on the main page and it was empty. This is a default setup of osCommerce Online Merchant. Products shown are for demonstrational purposes. Any products purchased will not be delivered nor will the customer be billed. Any information seen on these products is to be treated as fictional. Error Messages If there are any error or warning messages shown above, please correct them first before proceeding. Error messages are displayed at the very top of the page with a complete background color. Several checks are performed to ensure a healthy setup of your online store - these checks can be disabled by editing the appropriate parameters at the bottom of the includes/application_top.php file. Editing Page Texts The text shown here can be modified in the following file, on each language basis: [path to catalog]/includes/languages/english/index.php That file can be edited manually, or via the Administration Tool with the Languages->English->Define or Tools->File Manager modules. The text is set in the following manner: define('TEXT_MAIN', 'This is a default setup of the osCommerce project...'); The text highlighted in green may be modified - it is important to keep the define() of the TEXT_MAIN keyword. To remove the text for TEXT_MAIN completely, the following example is used where only two single quote characters exist: define('TEXT_MAIN', ''); Thanks Kenn Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted January 6, 2008 Share Posted January 6, 2008 Follow the instructions on the screen The text shown here can be modified in the following file, on each language basis: [path to catalog]/includes/languages/english/index.php If you don't know how to get a file off the web site onto your pc, edit it and put it back, it would probably be best to get some one to show you as describing in words it is a long and tedious exercise. 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 ======>>>>>. Link to comment Share on other sites More sharing options...
Ausgirl Posted January 7, 2008 Share Posted January 7, 2008 And make sure you stay within the apostraphe's define('TEXT_MAIN', ' Add Your Text Here'); Link to comment Share on other sites More sharing options...
kennonward Posted January 8, 2008 Author Share Posted January 8, 2008 And make sure you stay within the apostraphe's define('TEXT_MAIN', ' Add Your Text Here'); Thank you, both for your input. It was just a brain burp on my part. the vi editor did not show the lines for TEXT_MAIN when I looked at it. I had to page down to see the full line. Again Thanks and have a great year Kenn Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.