emailanj Posted August 8, 2005 Posted August 8, 2005 I have found and erased most of the text in index.php. I am doing it through the language defined area in admin. I need help locating "Welcome Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account? "english/index.php" It is under the #2 Thanks for any help, Anj <?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', '<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><span class="messageStackError"</span></td></tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/2.gif') . '</td><td class="main" valign="top"></b><br><nobr class="messageStackSuccess">' . $language . '/' . FILENAME_DEFAULT . '</nobr><nobr class="messageStackSuccess"</nobr> <nobr class="messageStackSuccess"></nobr><nobr><span class="messageStackSuccess"></span></nobr><br><br><nobr></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></td></tr><tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/4.gif') . '</td><td class="main" valign="top"></b> <u></u></a><u></u></a></td></tr></table> </u></a><b></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', 'Welcome');} elseif ($category_depth == 'nested') { define('HEADING_TITLE', 'Categories');}?>
emailanj Posted August 8, 2005 Author Posted August 8, 2005 Sorry I ment to copy and past just this "english/index.php" It is under the #2 I dont need to erase: Athough changeing the color of guest would be great, can it be done? "Welcome Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account? Thanks for any help, Anj
emailanj Posted August 8, 2005 Author Posted August 8, 2005 I feel silly replying to my own post again but I must be tired. I reread my post and I feel the need to try and be more clear: On the Index.php page I am deleating all of the text. I am not that great in PHP code so it has taken the better part of two days. I have suceeded will all except for "english/index.php" I have included the code above in hopes that some one can reconize the "english/index.php" phrase so that I can deleate it. I was also hoping to get rid of the numbered dots and change the color of the word guest to blue instead of the pinkish color it is now. Maybe a better explaination would be to see my site at My site If you do go there can you please let me know if its orange or standard color. For some reason when I look at it through aol its the standard color but in my Internet Explorer browser its the orange color I changed it to. I have cleared my temp files and other changes show up on aol. I will save this for another question but if you go there anyway I sure wouldn't mind knowing. Thanks for any and all help. anj
Gil_e_n Posted August 8, 2005 Posted August 8, 2005 Welcome, guest is defined in includes/languages/english.php. You can find what class it is there. You can probably kill the numbers in catalog/index.php, though I'm not sure about that. And in Mozilla, your headings are orangey-red. Always BACK UP your files and your database before making any changes. Before asking questions, check out the Knowledge Base. Check out the contributions to see if your problem's solved there. Search the forums. Useful threads: Store Speed Optimization How to make a horrible shop Basics for design change How to search the forums Useful contributions: Easypopulate Fast, Easy Checkout Header Tag Controller
emailanj Posted August 9, 2005 Author Posted August 9, 2005 Thank you very much for your reply and your time. I am glad to hear the headings are orangey-red in Mozilla, I am thinking aol has its own temp files that I will need to clear. thank you also for the great advise I will go and try it. You can't by chance see what I need to delete in the code above to get rid of the last of the text on my front page that says "english/index.php"? Anj Welcome, guest is defined in includes/languages/english.php. You can find what class it is there. You can probably kill the numbers in catalog/index.php, though I'm not sure about that. And in Mozilla, your headings are orangey-red. <{POST_SNAPBACK}>
emailanj Posted August 9, 2005 Author Posted August 9, 2005 Please, someone help. I have tried everything and eaither I delete code that crashes my site or nothing happens. Its just those few little words that I have left. I have been working on this for two days. Please help me :'( Welcome, guest is defined in includes/languages/english.php. You can find what class it is there. You can probably kill the numbers in catalog/index.php, though I'm not sure about that. And in Mozilla, your headings are orangey-red. <{POST_SNAPBACK}>
cjbiz Posted August 9, 2005 Posted August 9, 2005 Please, someone help. I have tried everything and eaither I delete code that crashes my site or nothing happens. Its just those few little words that I have left. I have been working on this for two days. Please help me :'( <{POST_SNAPBACK}> The phrase appears to be in this string of code. Have you already found it? I bolded it below. Your site is red orange in IE6. <td class="main"><table border="0" width="100%" cellspacing="5" cellpadding="2"><tr><td class="main" valign="top"><img src="images/default/1.gif" border="0" alt="" width="20" height="20"></td><td class="main" valign="top"></b><span class="messageStackError"</span></td></tr><td class="main" valign="top"><img src="images/default/2.gif" border="0" alt="" width="20" height="20"></td><td class="main" valign="top"></b><br><nobr class="messageStackSuccess">english/index.php</nobr><nobr class="messageStackSuccess"</nobr> <nobr class="messageStackSuccess"></nobr><nobr><span class="messageStackSuccess"></span></u></a></td></tr><tr><td class="main" valign="top"><img src="images/default/3.gif" border="0" alt="" width="20" height="20"></td><td class="main" valign="top"></b></td></tr><tr><td class="main" valign="top"><img src="images/default/4.gif" border="0" alt="" width="20" height="20"></td><td class="main" valign="top"></b> <u></u></a><u></u></a></td></tr></table> </u></a><b></b></font></td>
cjbiz Posted August 9, 2005 Posted August 9, 2005 Please, someone help. I have tried everything and eaither I delete code that crashes my site or nothing happens. Its just those few little words that I have left. I have been working on this for two days. Please help me :'( <{POST_SNAPBACK}> I think if you delete <span class="greetUser"> and </span> tags on either side of Guest! it might resolve your color problem. Possibly you can modify it in the Cascading Style Sheets if you are using them. <td class="main">Welcome <span class="greetUser">Guest!</span> I am not a professional coder so this might not be the correct fix.
emailanj Posted August 9, 2005 Author Posted August 9, 2005 :D Thank you very much for your response and your time in helpning me. I do see what you are talking about but what I have in the bolded area is different, It looks like this: (DIR_WS_IMAGES . 'default/2.gif') . '</td><td class="main" valign="top"></b><br><nobr class="messageStackSuccess[b]">' . $language . '/' . FILENAME_DEFAULT . '[/b]</nobr><nobr class="messageStackSuccess"</nobr> <nobr class="messageStackSuccess"></nobr><nobr><span class="messageStackSuccess"></span></u></a></td></tr><tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/3.gif') . But I deleted the whole' . $language . '/' . FILENAME_DEFAULT . And it worked!!!!! Thanks again for helping me solve this delemia. If it weren't for you I would be up all night trying to troubleshoot. :thumbsup:I hope one day I can help you with something :D :D :D Anj The phrase appears to be in this string of code. Have you already found it? I bolded it below. Your site is red orange in IE6. <td class="main"><table border="0" width="100%" cellspacing="5" cellpadding="2"><tr><td class="main" valign="top"><img src="images/default/1.gif" border="0" alt="" width="20" height="20"></td><td class="main" valign="top"></b><span class="messageStackError"</span></td></tr><td class="main" valign="top"><img src="images/default/2.gif" border="0" alt="" width="20" height="20"></td><td class="main" valign="top"></b><br><nobr class="messageStackSuccess">[b]english/index.php[/b]</nobr><nobr class="messageStackSuccess"</nobr> <nobr class="messageStackSuccess"></nobr><nobr><span class="messageStackSuccess"></span></u></a></td></tr><tr><td class="main" valign="top"><img src="images/default/3.gif" border="0" alt="" width="20" height="20"></td><td class="main" valign="top"></b></td></tr><tr><td class="main" valign="top"><img src="images/default/4.gif" border="0" alt="" width="20" height="20"></td><td class="main" valign="top"></b> <u></u></a><u></u></a></td></tr></table> </u></a><b></b></font></td> [right][post=674052]<{POST_SNAPBACK}>[/post][/right]
cjbiz Posted August 9, 2005 Posted August 9, 2005 Thanks again for helping me solve this delemia. If it weren't for you I would be up all night trying to troubleshoot. :thumbsup:I hope one day I can help you with something :D :D :D Anj <{POST_SNAPBACK}> You are quite welcome!! :rolleyes: Maybe you can guide a newbie like me to the area in this website where I can learn what osCommerce does and doesn't do for a person trying to build an entire ecommerce website!
emailanj Posted August 9, 2005 Author Posted August 9, 2005 Well welcome abord!!!! Although, it hardly seems like you are a newbie. I would like to say one thing if this is infact the case. I have been working on my cart for 8 weeks day in and day out. Ussually 12 to 14 hrs a day (ok ok I admit I have been a little slow at this :wacko:). I started from scratch not knowing a thing. As a newbie you will learn and it will become so easy to you. Also I have been around the block a time or too and have strayed to a few other carts out there. Eaither they were so limited or so full of bugs that my knowedge level just could'nt handle it. OSCommerce is the most popular cart out there in my opinion and in many others. They have contributions for almost any payment module and so many features and extras that your head will spin. The people on this forum are nice (for the most part) and you usually get an awnser pretty quickly. Any way sorry for being so winded. The info you are looking for is under solutions / documentation. Also you can see many of the contributions that make up the many features this cart under solutions/downloads. Good luck to you and I am sure I will see ya around :D anj You are quite welcome!! :rolleyes: Maybe you can guide a newbie like me to the area in this website where I can learn what osCommerce does and doesn't do for a person trying to build an entire ecommerce website! <{POST_SNAPBACK}>
Recommended Posts
Archived
This topic is now archived and is closed to further replies.