Guest Posted September 28, 2005 Posted September 28, 2005 Ok, I've finally managed to change the text on my front page. the last thing I would like to do is remove the Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account? I know nothing of html or php, I just inserted my text where theirs was. I dont see the welcome guest bit anywhere in the code. thanks again for the help
Guest Posted September 29, 2005 Posted September 29, 2005 Look in your languages/english.php file. Find "define('TEXT_GREETING_GUEST'". You can modify it there.
tmgrood Posted October 8, 2005 Posted October 8, 2005 Look in your languages/english.php file. Find "define('TEXT_GREETING_GUEST'". You can modify it there. I think his question was how to remove it, not modify it. Im curious hoiw to remove it or hide it too. When I try to hide it at the location you gave it shows "text_greeting_guest". I'm a victim of circumstance
Guest Posted October 8, 2005 Posted October 8, 2005 I think his question was how to remove it, not modify it.Im curious hoiw to remove it or hide it too. When I try to hide it at the location you gave it shows "text_greeting_guest". Id Like to know why there is no edit page for the front page? I do not see the "text_greeting_guest". in the english/index.php file?
greta Posted October 11, 2005 Posted October 11, 2005 Id Like to know why there is no edit page for the front page? I do not see the "text_greeting_guest". in the english/index.php file? I would like to know this as well. I've been working for hours tonight trying to find out how to edit the text in the center of the page where it says "Welcome Guest" etc. Greta
ecgbyme Posted October 11, 2005 Posted October 11, 2005 I would like to know this as well. I've been working for hours tonight trying to find out how to edit the text in the center of the page where it says "Welcome Guest" etc. Greta You can change the Welcome Guest text in the same file (index.php) as you changed the main page test. If your downloading and using Notepad or an HTML writer you can find the file in: store/includes/languages/english/index.php Or you can make changes in Administration under Tool, click define languages, then click index.php. The Welcome Guest is located below the main page body of text. You'll see the 'Welcome Guest' text in a line near the beginning which you can change to whatever you want or just remove it between the two ' '
♥Monika in Germany Posted October 11, 2005 Posted October 11, 2005 You can change the Welcome Guest text in the same file (index.php) as you changed the main page test.If your downloading and using Notepad or an HTML writer you can find the file in: store/includes/languages/english/index.php Or you can make changes in Administration under Tool, click define languages, then click index.php. The Welcome Guest is located below the main page body of text. You'll see the 'Welcome Guest' text in a line near the beginning which you can change to whatever you want or just remove it between the two ' ' if you want to free up the space used, use this. catalog/index.php, the bottom part of it shows your home page when a customers comes to your page: <?php } else { // default page ?> <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="main"><?php echo tep_customer_greeting(); ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td class="main"><?php echo TEXT_MAIN; ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> </tr> <?php include(DIR_WS_MODULES . FILENAME_UPCOMING_PRODUCTS); ?> </table></td> </tr> </table></td> <?php } ?> <!-- body_text_eof //--> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- right_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?> <!-- right_navigation_eof //--> </table></td> </tr> </table> <!-- body_eof //--> <!-- footer //--> <?php require(DIR_WS_INCLUDES . 'footer.php'); ?> <!-- footer_eof //--> <br> </body> </html> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> see this part? <td class="main"><?php echo tep_customer_greeting(); ?></td> ok to free up the space, you need to comment out that whole area including the extra spacer line this <tr> <td class="main"><?php echo tep_customer_greeting(); ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> becomes this <?php /* <tr> <td class="main"><?php echo tep_customer_greeting(); ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> */ ?> :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...
Guest Posted November 11, 2005 Posted November 11, 2005 You can change the Welcome Guest text in the same file (index.php) as you changed the main page test.If your downloading and using Notepad or an HTML writer you can find the file in: store/includes/languages/english/index.php Or you can make changes in Administration under Tool, click define languages, then click index.php. The Welcome Guest is located below the main page body of text. You'll see the 'Welcome Guest' text in a line near the beginning which you can change to whatever you want or just remove it between the two ' ' Here is what My includes/languages/english/index.php File Looks Like <?php /* $Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions [url=http://www.oscommerce.com]http://www.oscommerce.com[/url] Copyright ? 2003 osCommerce Released under the GNU General Public License */ define('TEXT_MAIN', 'Welcome To the <font color="#f0000"><b>ThePigPenn.com</b></font> Your Souce For PiggyBanks,HappyFeet,and NYSCollection Sunglasses at Discounted Prices.<br>Please Navigate the site Using the menu's To the left,Enjoy!.'); 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'); } ?> Where Would I change the welcome Message? This is Crazy. Please Help, Thanks, Brandon
♥Monika in Germany Posted November 11, 2005 Posted November 11, 2005 Here is what My includes/languages/english/index.php File Looks Like <?php /* $Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions [url=http://www.oscommerce.com]http://www.oscommerce.com[/url] Copyright ? 2003 osCommerce Released under the GNU General Public License */ define('TEXT_MAIN', 'Welcome To the <font color="#f0000"><b>ThePigPenn.com</b></font> Your Souce For PiggyBanks,HappyFeet,and NYSCollection Sunglasses at Discounted Prices.<br>Please Navigate the site Using the menu's To the left,Enjoy!.'); 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'); } ?> Where Would I change the welcome Message? This is Crazy. Please Help, Thanks, Brandon the welcome guest message is not in index.php, but in english.php If you only want to change the text, you need to go there. Be aware that it uses the function I had outlined in my post before to insert the name. :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...
Guest Posted November 11, 2005 Posted November 11, 2005 the welcome guest message is not in index.php, but in english.php If you only want to change the text, you need to go there. Be aware that it uses the function I had outlined in my post before to insert the name. Thank You Beautiful!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.