Guest Posted November 9, 2005 Share Posted November 9, 2005 I need help. when I try to edit my text_main by going /catalog/includes/languages/english/index.php this is what happen https://st63.startlogic.com/~stratfor/Onlin...eckOut/catalog/ I dont know what to do. Please help. J.A.M. :wacko: Link to comment Share on other sites More sharing options...
Guest Posted November 9, 2005 Share Posted November 9, 2005 post the contents of the english/index.php file here. Link to comment Share on other sites More sharing options...
Guest Posted November 9, 2005 Share Posted November 9, 2005 post the contents of the english/index.php file here. here it is. <?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', 'This is a default setup of the osCommerce project, products shown are for demonstrational purposes, <b>any products purchased will not be delivered nor will the customer be billed</b>. Any information seen on these products is to be treated as fictional.<br><br><table border="0" width="100%" cellspacing="5" cellpadding="2"><tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/1.gif') . '</td><td class="main" valign="top"><b>Error Messages</b><br><br>If there are any error or warning messages shown above, please correct them first before proceeding.<br><br>Error messages are displayed at the very top of the page with a complete <span class="messageStackError">background</span> color.<br><br>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.</td></tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/2.gif') . '</td><td class="main" valign="top"><b>Editing Page Texts</b><br><br>The text shown here can be modified in the following file, on each language basis:<br><br><nobr class="messageStackSuccess">[path to catalog]/includes/languages/' . $language . '/' . FILENAME_DEFAULT . '</nobr><br><br>That file can be edited manually, or via the Administration Tool with the <nobr class="messageStackSuccess">Languages->' . ucfirst($language) . '->Define</nobr> or <nobr class="messageStackSuccess">Tools->File Manager</nobr> modules.<br><br>The text is set in the following manner:<br><br><nobr>define(\'TEXT_MAIN\', \'<span class="messageStackSuccess">This is a default setup of the osCommerce project...</SPAN>\');</NOBR><BR><BR>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:<BR><BR><NOBR>define(\'TEXT_MAIN\', \'\');</NOBR><BR><BR>More information concerning the PHP define() function can be read <A href="http://www.php.net/define" target=_blank><U>here</U></A>.</TD></TR><TR><TD class=main valign="top">' . tep_image(DIR_WS_IMAGES . 'default/3.gif') . '</TD><TD class=main valign="top"><B>Securing The Administration Tool</B><BR><BR>It is important to secure the Administration Tool as there is currently no security implementation available.</TD></TR><TR><TD class=main valign="top">' . tep_image(DIR_WS_IMAGES . 'default/4.gif') . '</TD><TD class=main valign="top"><B>Online Documentation</B><BR><BR>Online documentation can be read at the <A href="http://wiki.oscommerce.com" target=_blank><U>osCommerce Wiki Documentation Effort</U></A> site.<BR><BR>Community support is available at the <A href="http://www.oscommerce.com/forums" target=_blank><U>osCommerce Community Support Forums</U></A> site.</TD></TR></TABLE><BR>If you wish to download the solution powering this shop, or if you wish to contribute to the osCommerce project, please visit the <A href="http://www.oscommerce.com" target=_blank><U>support site of osCommerce</U></A>. This shop is running on osCommerce version <FONT color=#f0000><B>' . PROJECT_VERSION . '</B></FONT>.'); 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', 'What\'s New Here?'); } elseif ($category_depth == 'nested') { define('HEADING_TITLE', 'Categories'); } ?> Thank you for taking a moment with my post. Link to comment Share on other sites More sharing options...
Guest Posted November 9, 2005 Share Posted November 9, 2005 This at the very end doesn't look right: ?> change it to ?> Also, what are you using to edit and what to load files? Link to comment Share on other sites More sharing options...
Guest Posted November 9, 2005 Share Posted November 9, 2005 This at the very end doesn't look right: ?> change it to ?> Also, what are you using to edit and what to load files? Oh my God. it works. Thank you so much Dan. :lol: can someone please help me how to install the website payment pro to my shop payment. I already sign up for paypal and already download the file. but my problem is when I read the instuction it sais Unzip all contents contained in osc_paypal_wpp.zip o Step 2: Simply upload the "catalog" folder into your osCommerce store directory. If your file transfer program prompts you to overwrite existing files please do so as the directory hierarchy has been automatically adjusted to match your osCommerce installation. Files included inside the module will automatically replace the existing files inside the catalog directory and respective sub directories. Example Store Directory: /home/yoursite/www/oscommerce/catalog I already un zip the file and when it sais that upload the "Catalog" into my osCommerce store directory. when I try it, it bring me this file includes paypal_wpp checkout_confirmation checkout_payment checkout_shipping create_account create_account_success login shopping_cart I dont know which one to upload. Can someone please please :( help me. I would really really approciate your help. Link to comment Share on other sites More sharing options...
Guest Posted November 9, 2005 Share Posted November 9, 2005 I haven't installed this one yet, but you should upload all of them; each into its proper place. Some will be new files and others will be overwrites (replacing the stock osC file with that name). Link to comment Share on other sites More sharing options...
Guest Posted November 10, 2005 Share Posted November 10, 2005 How can I edit my footer text? Link to comment Share on other sites More sharing options...
Guest Posted November 10, 2005 Share Posted November 10, 2005 Use Notepad. Any text editor will work but some will mess with the code. The simpler the better until you have greater needs. I like Notepad++ Link to comment Share on other sites More sharing options...
Guest Posted November 10, 2005 Share Posted November 10, 2005 Hi, Dan I go to /catalog/includes/footer.php, I try to edit it using NotePad and I upload it but It give me an eror message. Warning: Unterminated comment starting line 24 in /home/stratfor/public_html/OnlineCheckOut/catalog/includes/footer.php on line 24 <?php /* $Id: footer.php,v 1.26 2003/02/10 22:30:54 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ require(DIR_WS_INCLUDES . 'counter.php'); ?> <TABLE cellSpacing=0 cellPadding=1 width="100%" border=0> <TBODY> <TR class=footer> <TD class=footer> <?php echo strftime(DATE_FORMAT_LONG); ?> </TD> <TD class=footer align=right> <?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?> </TD></TR></TBODY></TABLE><BR> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0> <TBODY> <TR> <TD class=smallText align=middle><?php /* The following copyright announcement can only be appropriately modified or removed if the layout of the site theme has been modified to distinguish itself from the default osCommerce-copyrighted theme. For more information please read the following Frequently Asked Questions entry on the osCommerce support site: http://www.oscommerce.com/community.php/faq,26/q,50 Please leave this comment intact together with the following copyright announcement. */ echo FOOTER_TEXT_BODY ?></TD></TR></TBODY></TABLE><?php if ($banner = tep_banner_exists('dynamic', '468x50')) { ?><BR> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0> <TBODY> <TR> <TD align=middle><?php echo tep_display_banner('static', $banner); ?></TD></TR></TBODY></TABLE><?php } ?> Regards; Joanna Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.