Guest Posted May 31, 2004 Share Posted May 31, 2004 How can I edit this page ? 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: 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', ''); More information concerning the PHP define() function can be read here. Securing The Administration Tool It is important to secure the Administration Tool as there is currently no security implementation available. Online Documentation Online documentation can be read at the osCommerce Wiki Documentation Effort site. Community support is available at the osCommerce Community Support Forums site. If you wish to download the solution powering this shop, or if you wish to contribute to the osCommerce project, please visit the support site of osCommerce. This shop is running on osCommerce version osCommerce 2.2-MS2. Link to comment Share on other sites More sharing options...
ozcsys Posted May 31, 2004 Share Posted May 31, 2004 It tells you where to go to change the text. I would however not recommend using the included file manager but ftp the files to your local computer make the changes and then ftp back up to your server. 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', ''); The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right?? Link to comment Share on other sites More sharing options...
Guest Posted May 31, 2004 Share Posted May 31, 2004 I don't mean to sound dumb but I tried to following those directions and came up with an error message. Do I only take out the( This is a default setup of the osCommerce project... ) because when I did it took down my page. Could you be specific on what or what not to remove? Thanks. Link to comment Share on other sites More sharing options...
ozcsys Posted May 31, 2004 Share Posted May 31, 2004 I don't mean to sound dumb but I tried to following those directions and came up with an error message. Do I only take out the( This is a default setup of the osCommerce project... ) because when I did it took down my page. Could you be specific on what or what not to remove? Thanks. The easiest thing to do is to take out everything between the ' ' so that it looks like this define('TEXT_MAIN', ' '); Then you will add your content like this define('TEXT_MAIN', ' your content here'); or what I do to keep myself from losing track of where my content starts and ends define('TEXT_MAIN', ' Your content here '); The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right?? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.