Top_Speed Posted December 20, 2004 Posted December 20, 2004 I have installed the login in the right box so now I would like the "Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account?" totally removed. my (lower code) in header is of such.. <?php if (isset($HTTP_GET_VARS['error_message']) && tep_not_null($HTTP_GET_VARS['error_message'])) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="headerError"> <td class="headerError"><?php echo htmlspecialchars(urldecode($HTTP_GET_VARS['error_message'])); ?></td> </tr> </table> <?php } if (isset($HTTP_GET_VARS['info_message']) && tep_not_null($HTTP_GET_VARS['info_message'])) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="headerInfo"> <td class="headerInfo"><?php echo htmlspecialchars($HTTP_GET_VARS['info_message']); ?></td> </tr> </table> <?php } ?> Thanks! define('PROJECTS', 'Something that goes on forever!');
wheeloftime Posted December 20, 2004 Posted December 20, 2004 I have installed the login in the right box so now I would like the "Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account?" totally removed. my (lower code) in header is of such.. <?php if (isset($HTTP_GET_VARS['error_message']) && tep_not_null($HTTP_GET_VARS['error_message'])) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="headerError"> <td class="headerError"><?php echo htmlspecialchars(urldecode($HTTP_GET_VARS['error_message'])); ?></td> </tr> </table> <?php } if (isset($HTTP_GET_VARS['info_message']) && tep_not_null($HTTP_GET_VARS['info_message'])) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="headerInfo"> <td class="headerInfo"><?php echo htmlspecialchars($HTTP_GET_VARS['info_message']); ?></td> </tr> </table> <?php } ?> Thanks! <{POST_SNAPBACK}> Just empty the appropriate strings in includes/languages/english.php define('TEXT_GREETING_PERSONAL', ''); define('TEXT_GREETING_PERSONAL_RELOGON', ''); define('TEXT_GREETING_GUEST', ''); or (what I did for a while) edit catalog/index.php -> find <td class="main"><?php echo tep_customer_greeting(); ?></td> and change to <td class="main"><?php // echo tep_customer_greeting(); ?></td> I would prefer this last method.
Top_Speed Posted December 20, 2004 Author Posted December 20, 2004 Just empty the appropriate strings in includes/languages/english.php define('TEXT_GREETING_PERSONAL', ''); define('TEXT_GREETING_PERSONAL_RELOGON', ''); define('TEXT_GREETING_GUEST', ''); or (what I did for a while) edit catalog/index.php -> find ? ? ? ? ? ?<td class="main"><?php echo tep_customer_greeting(); ?></td> and change to ? ? ? ? ? ?<td class="main"><?php // echo tep_customer_greeting(); ?></td> I would prefer this last method. <{POST_SNAPBACK}> Thanks Howard, I did the later as you suggested :thumbsup: define('PROJECTS', 'Something that goes on forever!');
Recommended Posts
Archived
This topic is now archived and is closed to further replies.