vanawesome2 Posted October 31, 2006 Posted October 31, 2006 Hi, Forgive me for another dumb noob question, but on my site, i'd like to get rid of the page header and change the "Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account?" To just say "welcome _____ Please Sign In or Create and account" Which file needs to be modified to do that. I can't seem to find that. any help would be greatly appreciated
Guest Posted October 31, 2006 Posted October 31, 2006 catalog/includes/languages/english.php ... define('TEXT_GREETING_PERSONAL', 'Welcome back <span class="greetUser">%s!</span> Would you like to see which <a href="%s"><u>new products</u></a> are available to purchase?'); define('TEXT_GREETING_PERSONAL_RELOGON', '<small>If you are not %s, please <a href="%s"><u>log yourself in</u></a> with your account information.</small>'); define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s"><u>log yourself in</u></a>? Or would you prefer to <a href="%s"><u>create an account</u></a>?'); :)
Gameprodigy Posted October 31, 2006 Posted October 31, 2006 Might I suggest something, I think what you are trying to do is remove the Welcom guest from the main index page, what I might suggest is adding this contribution http://www.oscommerce.com/community/contri...search,loginbox which is pretty easy, this will add a login box to the right side of your site like on mine www.gameprodigyonline.com Once you have added a login box you wont need that "welcome Guest" message at the top, you can remove it by going into catalog/index.php find this code <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> and comment out the heading tittle and image by adding slashes // like this <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> This will remove the Welcome guest, I don't see the image on your site so it may have already been commented out or removed. I think you would benefit from this because adding another box to the right side will sorta even out the left and the right boxes, I might also recommend adding the search box to the right side instead of the left, because once you add products to your catagories that catagorie box will expand and make the left side of your page really long, moving boxes to the right may make your page look more proportional. you can switch the box sides by going to catalog/includes/column_left.php copy this require(DIR_WS_BOXES . 'search.php'); after you copy it you can either comment it out by add // infront of it or delete it. Then go to catalog/includes/column_right.php and paste the code at the top like so Released under the GNU General Public License */ require(DIR_WS_BOXES . 'search.php'); hope this helped. Its not as much work as it sounds.
vanawesome2 Posted October 31, 2006 Author Posted October 31, 2006 Might I suggest something, I think what you are trying to do is remove the Welcom guest from the main index page, what I might suggest is adding this contribution http://www.oscommerce.com/community/contri...search,loginbox which is pretty easy, this will add a login box to the right side of your site like on mine www.gameprodigyonline.com Once you have added a login box you wont need that "welcome Guest" message at the top, you can remove it by going into catalog/index.php find this code <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> and comment out the heading tittle and image by adding slashes // like this <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> This will remove the Welcome guest, I don't see the image on your site so it may have already been commented out or removed. I think you would benefit from this because adding another box to the right side will sorta even out the left and the right boxes, I might also recommend adding the search box to the right side instead of the left, because once you add products to your catagories that catagorie box will expand and make the left side of your page really long, moving boxes to the right may make your page look more proportional. you can switch the box sides by going to catalog/includes/column_left.php copy this require(DIR_WS_BOXES . 'search.php'); after you copy it you can either comment it out by add // infront of it or delete it. Then go to catalog/includes/column_right.php and paste the code at the top like so Released under the GNU General Public License */ require(DIR_WS_BOXES . 'search.php'); hope this helped. Its not as much work as it sounds. Thanks a lot. i'm going to add the login box right now. Would you know how to get rid of the very first text on the page that just says 'American Modifier" in big bold letters. And i mean remove it so that the flash i have sitting below it will be instead be up at the top even with the boxes. And i agree with your suggestions. I will move the search box to the right. Thanks. edit: i did see that // out will also get rid of the Heading text. Thank i'm going to try that soon.
vanawesome2 Posted October 31, 2006 Author Posted October 31, 2006 it seems that the // isn't making the Header and the welcome guest text go away. I have entered in the code exactly as you wrote it. Do you know why it would still be there??? Thanks.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.