indianking Posted September 2, 2006 Share Posted September 2, 2006 Hello everyone, I am trying to remove this text that is deafult on the front page Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account? This is a default setup of the osCommerce project, 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: according to this i can change it by editing index.php in language/english folder. i edited that but even then the text is not changing. Please someone help me to enter my own text here. Link to comment Share on other sites More sharing options...
Invado Posted September 2, 2006 Share Posted September 2, 2006 I am worse off than you...I tried editing, and must have screwed something up b/c now I can't even see the store anymore ...there is an error message. I'm completely new at this and not great on computers in general to begin with so I should have quit when I was ahead. I thought I figured out the problem when I decided to download another store, went back into file manager, english, index, etc. I copied and pasted all the text there into my original store, expecting that to work, but it doesn't...the file for some reason is slightly smaller, but when I open up both, they look exactly alike. Could someone show us what that file should look like once all the default text has been removed...I would settle at this point, to keep the default text, but have my site up again...any suggestions????? Hello everyone, I am trying to remove this text that is deafult on the front page according to this i can change it by editing index.php in language/english folder. i edited that but even then the text is not changing. Please someone help me to enter my own text here. Link to comment Share on other sites More sharing options...
Guest Posted September 2, 2006 Share Posted September 2, 2006 Here's the index modified to show where you new text should go. leave the ' text marks ' or you get an error. copy this text to a text editor (notepad on Windows ) save it and use the oscommerce file manager to upload it to /includes/languages/english/ Edward <?php /* $Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ define('TEXT_MAIN', ' put your new text here, and leave the text marks '); define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s'); define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products'); define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected'); if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) { define('HEADING_TITLE', 'Let\'s See What We Have Here'); define('TABLE_HEADING_IMAGE', ''); define('TABLE_HEADING_MODEL', 'Model'); define('TABLE_HEADING_PRODUCTS', 'Product Name'); define('TABLE_HEADING_MANUFACTURER', 'Manufacturer'); define('TABLE_HEADING_QUANTITY', 'Quantity'); define('TABLE_HEADING_PRICE', 'Price'); define('TABLE_HEADING_WEIGHT', 'Weight'); define('TABLE_HEADING_BUY_NOW', 'Buy Now'); define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.'); define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.'); define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: '); define('TEXT_SHOW', '<b>Show:</b>'); define('TEXT_BUY', 'Buy 1 \''); define('TEXT_NOW', '\' now'); define('TEXT_ALL_CATEGORIES', 'All Categories'); define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers'); } elseif ($category_depth == 'top') { define('HEADING_TITLE', 'Welcome to the store'); } elseif ($category_depth == 'nested') { define('HEADING_TITLE', 'Categories'); } ?> Link to comment Share on other sites More sharing options...
jasonabc Posted September 3, 2006 Share Posted September 3, 2006 went back into file manager Stop using File Manager - it's buggy and causes lots of problems with OSC's files. Download a decent FTP program and use that to transfer files from your webserver to your computer for editing. Save and transfer back to your webserver. Jason My Contributions: Paypal Payflow PRO | Rollover Category Images | Authorize.net Invoice Number Fix Link to comment Share on other sites More sharing options...
brocky Posted September 3, 2006 Share Posted September 3, 2006 Stop using File Manager - it's buggy and causes lots of problems with OSC's files. Download a decent FTP program and use that to transfer files from your webserver to your computer for editing. Save and transfer back to your webserver. how do i do that? i have no clue what to do. Could somebody please put up a step by step guide to help me please? Link to comment Share on other sites More sharing options...
jasonabc Posted September 3, 2006 Share Posted September 3, 2006 Read this: http://www.oscommerce.com/forums/index.php?showtopic=162231 There are thousands of FTP tutorials on the web - Google for some of them. That will explain what FTP is and how to get and use the software. Jason My Contributions: Paypal Payflow PRO | Rollover Category Images | Authorize.net Invoice Number Fix Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.