symbiose Posted January 17, 2007 Share Posted January 17, 2007 Hi, i wanted to ask if someone could help me? I want to delete the greetuser text on the first page but i cannot find where it is? thank you for your help :) Link to comment Share on other sites More sharing options...
pynchon Posted January 17, 2007 Share Posted January 17, 2007 Hi, i wanted to ask if someone could help me? I want to delete the greetuser text on the first page but i cannot find where it is? thank you for your help :) i think it is in includes/languages/english.php around lines 270 ish hope this helps Link to comment Share on other sites More sharing options...
symbiose Posted January 17, 2007 Author Share Posted January 17, 2007 this is just the text but not the whole field, when i delete it an error accures ;( it has to be somewhere in the main files, thanks Link to comment Share on other sites More sharing options...
pynchon Posted January 17, 2007 Share Posted January 17, 2007 this is just the text but not the whole field, when i delete it an error accures ;(it has to be somewhere in the main files, thanks it will be in index.php ... but my own is so heavily edited (with the greeting removed) I have nothing to work on ... can you post the relevant part from index.php that contains the php code that calls in the greeting message and I'll show you what needs removing Link to comment Share on other sites More sharing options...
samesame Posted January 19, 2007 Share Posted January 19, 2007 sorry to hijack.. your greeting is appears and you want to remove it.. mine is not appearing and i want it to. Do you know what i've done wrong?? any help would be very much appreciated :) Link to comment Share on other sites More sharing options...
Barbie97 Posted April 5, 2007 Share Posted April 5, 2007 I don't think this question was ever really answered. Can somebody tell me where and what the script is that I need to delete to remove this greeting pretty please? Any help would be appreciated!! :) Link to comment Share on other sites More sharing options...
coeli Posted April 5, 2007 Share Posted April 5, 2007 I don't think this question was ever really answered. Can somebody tell me where and what the script is that I need to delete to remove this greeting pretty please? Any help would be appreciated!! :) 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">Shopper!</span>'); Erase the define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Shopper!</span>'); Link to comment Share on other sites More sharing options...
Barbie97 Posted April 6, 2007 Share Posted April 6, 2007 Coeli, Thank you! But... I just tried it and now I'm getting this text in it's place: TEXT_GREETING_GUEST Any ideas? I'll try doing a search of the site for that particular text and see what I find... Link to comment Share on other sites More sharing options...
Barbie97 Posted April 6, 2007 Share Posted April 6, 2007 I DID IT!!! I FEEL SMART! (this will only last until for 5 minutes tops!) There are 2 steps to getting rid of that greeting. Follow these instructions below: HOW TO DELETE THE GREETING ON THE HOME PAGE “WELCOME GUESTS” STEP ONE: go to page: includes/languages/english.php And cancel out (// ) the following script 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>?'); STEP TWO: go to Includes/functions/general.php and cancel out line 994 // return $greeting_string; Link to comment Share on other sites More sharing options...
dehydratedchicken Posted April 6, 2007 Share Posted April 6, 2007 OR Edit index.php by removing the following code: <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> Should work just as effectively Regards Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.