LMan Posted July 2, 2006 Posted July 2, 2006 Does anyone know how to remove this text What's New Here? from my site? ThanksLMan
Jack_mcs Posted July 2, 2006 Posted July 2, 2006 Take a look in includes/languages/english/index.php. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
themewedd Posted July 4, 2006 Posted July 4, 2006 Take a look in includes/languages/english/index.php. Jack Everyone says look in that file- Well I looked and tried to change things and all I get is an error. Then I am told to go look at a site for info that is down. Can anyone show where in the fileyou replace the text to remove the default texts? very simpley like replace this ...... with ......?
Silverado05 Posted July 4, 2006 Posted July 4, 2006 What error are you getting. That might help us some, because that is the file you edit to change that. Can you post us your file and what you what the text to be changed to? Search the forum and contributions before posting. If that doesn't work, keep looking, then post. The forum is for seeking help and advice NOT for someone to do your work for you. Try to do something on your on, if you are going to run a shop then learn how it works.
themewedd Posted July 4, 2006 Posted July 4, 2006 What error are you getting. That might help us some, because that is the file you edit to change that. Can you post us your file and what you what the text to be changed to? in the first set up- same file Could wome one just highlight the lines that are safe to change with out loosing boxes? (hey i think i hijacked a thread here) And how to get rid of the what'snew here line- I can't even find that file yet. i managed to use the forum to change the color and my store name but i am stumped here. <?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://www.oscommerce.info" target="_blank"><u>osCommerce Knowledge Base</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'); } ?>
themewedd Posted July 4, 2006 Posted July 4, 2006 I am also tring to find where to change the title of the manufactures box to select by trim size see here- www.trimwhore.com/sales thanks!
Silverado05 Posted July 4, 2006 Posted July 4, 2006 <?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://www.oscommerce.info" target="_blank"><u>osCommerce Knowledge Base</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'); } ?> Change what is just in red. make sure whatever text you change is between ' and ' if you are using words like what's make sure you escape the ' like this what\'s If you need more info just post back. Hope this helps some. Search the forum and contributions before posting. If that doesn't work, keep looking, then post. The forum is for seeking help and advice NOT for someone to do your work for you. Try to do something on your on, if you are going to run a shop then learn how it works.
Silverado05 Posted July 4, 2006 Posted July 4, 2006 I am also tring to find where to change the title of the manufactures box to select by trim sizesee here- www.trimwhore.com/sales thanks! It's in includes/languages/english.php a few lines from the top. Most all your text is going to be in english.php or its designated lang file. // manufacturers box text in includes/boxes/manufacturers.php define('BOX_HEADING_MANUFACTURERS', 'Manufacturers'); Search the forum and contributions before posting. If that doesn't work, keep looking, then post. The forum is for seeking help and advice NOT for someone to do your work for you. Try to do something on your on, if you are going to run a shop then learn how it works.
themewedd Posted July 4, 2006 Posted July 4, 2006 It's in includes/languages/english.php a few lines from the top. Most all your text is going to be in english.php or its designated lang file. // manufacturers box text in includes/boxes/manufacturers.php define('BOX_HEADING_MANUFACTURERS', 'Manufacturers'); thank you for keeping it simple! That fixed several things I had questions about. I used your example to change several items. However, I still can't seem to get my text in the middle out- It keeps deleteing the whole right side boxes. I know what i want in Html- But I can't seem to get it to work in the file. I think I can't have my font but i am at a loss. here is the html text I want <TBODY> <TR> <TD class=pageHeading> <p align="center"><font face="BlackWick" color="#000000"> Welcome to TrimWhore.com Your online source for Costuming Trim!</font></p> <p align="center"><font color="#000000" face="Verdana" size="3"> Featuring<br> <br> </font><font face="Verdana" size="3" color="#8B00B9">Trims & Ribbons:</font><font color="#000000" face="Verdana" size="3"> Specializing in Historical and decorative Trim featuring Dragons, Griffins, Fleur-de-lis's, Gothic, Italian, Celtic, French, Floral, Celestial, Medieval, and Renaissance designs For the SCA, Larp, Ren-faire, Civil War, Mountain Men and other Historical re-enactment communities. <br> <br> </font><font face="Verdana" size="3" color="#8B00B9">Clasps & Buttons:</font><font color="#000000" face="Verdana" size="3"> Beautiful pieces in Pewter, Wood, golden and silver tones. Plain or jeweled! Dress Lacers and Hook & Eye clasps perfect for you favorite costume! <br> <br> </font><font face="Verdana" size="3" color="#8B00B9">Notions:</font><font color="#000000" face="Verdana" size="3"> Aglet metal tips for cords, hook and eye tape, and other hard to find historical costume accessories!<br> <br> </font><font face="Verdana" size="3" color="#8B00B9">and Much More!</font><font face="BlackWick" color="#000000"><br> </font></TD>
Silverado05 Posted July 4, 2006 Posted July 4, 2006 Just delete everything in red and insert your HTML code above. If you have problems then post your the entire index lang file with the change already in on it. find and delete just in red, then insert your code. FYI, we are still working in the index lang file. 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://www.oscommerce.info" target="_blank"><u>osCommerce Knowledge Base</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'); This should take care of everything you are needing done for now. :thumbsup: Search the forum and contributions before posting. If that doesn't work, keep looking, then post. The forum is for seeking help and advice NOT for someone to do your work for you. Try to do something on your on, if you are going to run a shop then learn how it works.
themewedd Posted July 4, 2006 Posted July 4, 2006 ok I got this error- Where did I mess up? I really apriciate your help! Parse error: parse error, unexpected T_STRING in /home/trimwhor/public_html/sales/includes/languages/english/index.php on line 25 <?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', '<TBODY> <TR> <TD class=pageHeading> <p align="center"><font face="BlackWick" color="#000000"> Welcome to TrimWhore.com Your online source for Costuming Trim!</font></p> <p align="center"><font color="#000000" face="Verdana" size="3"> Featuring<br> <br> </font><font face="Verdana" size="3" color="#8B00B9">Trims & Ribbons:</font><font color="#000000" face="Verdana" size="3"> Specializing in Historical and decorative Trim featuring Dragons, Griffins, Fleur-de-lis's, Gothic, Italian, Celtic, French, Floral, Celestial, Medieval, and Renaissance designs For the SCA, Larp, Ren-faire, Civil War, Mountain Men and other Historical re-enactment communities. <br> <br> </font><font face="Verdana" size="3" color="#8B00B9">Clasps & Buttons:</font><font color="#000000" face="Verdana" size="3"> Beautiful pieces in Pewter, Wood, golden and silver tones. Plain or jeweled! Dress Lacers and Hook & Eye clasps perfect for you favorite costume! <br> <br> </font><font face="Verdana" size="3" color="#8B00B9">Notions:</font><font color="#000000" face="Verdana" size="3"> Aglet metal tips for cords, hook and eye tape, and other hard to find historical costume accessories!<br> <br> </font><font face="Verdana" size="3" color="#8B00B9">and Much More!</font><font face="BlackWick" color="#000000"><br> </font></TD>' . 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', 'Greetings! Welcome to TrimWhore.com'); 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 TrimWhore.com<br>Your online source for Costuming Trim!'); } elseif ($category_depth == 'nested') { define('HEADING_TITLE', 'Categories'); } ?>
themewedd Posted July 4, 2006 Posted July 4, 2006 never mind the error - i saw the contraction- Hey I am learning! now i have a weird o2 commerce line on the page though- www.trimwhore.com/sales
Guest Posted July 4, 2006 Posted July 4, 2006 Sorry, don't know your error off-hand, but noticed the name of your store.....and chuckled. Good one! :thumbsup: Your possible error: </font><font face="Verdana" size="3" color="#8B00B9">and Much More!</font><font face="BlackWick" color="#000000"><br> </font></TD>' . PROJECT_VERSION . '</b></font>.'); make it this: </font><font face="Verdana" size="3" color="#8B00B9">and Much More!</font></TD>'); And make sure all your TDs, TRs, and Tables tags are closed appropriately, you might be missing some at the end there....
themewedd Posted July 4, 2006 Posted July 4, 2006 Sorry, don't know your error off-hand, but noticed the name of your store.....and chuckled. Good one! :thumbsup: except for being blocked by possible net nannies (LOL) you will remember it! And make sure all your TDs, TRs, and Tables tags are closed appropriately, you might be missing some at the end there.... ok- now you have lost me- I copied the html from frontpage LOL I will play with it alittle- this makes a great difference!
themewedd Posted July 4, 2006 Posted July 4, 2006 ok- now you have lost me- I copied the html from frontpage LOLI will play with it alittle- this makes a great difference! that did it! This makes at least a start i feel better about loading more product. Thank You SOOOO much for helping make it simple. I hope this helps others tring to see the light!
Silverado05 Posted July 4, 2006 Posted July 4, 2006 Everything looks good in your file. Do you want to remove the line Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account?" on your index page? If so I need you to post me your regular index.php file. Search the forum and contributions before posting. If that doesn't work, keep looking, then post. The forum is for seeking help and advice NOT for someone to do your work for you. Try to do something on your on, if you are going to run a shop then learn how it works.
Silverado05 Posted July 4, 2006 Posted July 4, 2006 If you want my opinion I would remove this from your index lang file. It's the first part of your code heading in your text main. <p align="center"><font face="BlackWick" color="#000000"> Welcome to TrimWhore.com Your online source for Costuming Trim!</font></p> Then remove the line I suggest above and it will make everything flow a little better. Then add a login infobox to the right column to replace the line you deleted. Search the forum and contributions before posting. If that doesn't work, keep looking, then post. The forum is for seeking help and advice NOT for someone to do your work for you. Try to do something on your on, if you are going to run a shop then learn how it works.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.