VRADesign Posted April 12, 2007 Share Posted April 12, 2007 So, I'm trying to figure out what file(s) I need to modify to move (not REMOVE) the Welcome Guest message. I'm using STS so it's not as simple as modifying the catalog/index.php. Any assistance would be appreciated. Quote Link to comment Share on other sites More sharing options...
bkellum Posted April 14, 2007 Share Posted April 14, 2007 So, I'm trying to figure out what file(s) I need to modify to move (not REMOVE) the Welcome Guest message. I'm using STS so it's not as simple as modifying the catalog/index.php. Any assistance would be appreciated. Actually, it IS as simple as modifying the catalog/index.php file. Try this: In catalog/index.php, find: <td class="main"><?php echo tep_customer_greeting(); ?></td> Change it to (comment it out): //<td class="main"><?php echo tep_customer_greeting(); ?></td> Now place the following in your STS Template where you want the $greeting string (that is called in general.php): <td class="main"><?php echo tep_customer_greeting(); ?></td> Also: You will need to modify the HTML Table tags above to meet your needs in your template. NOTE: Since version 4, STS Templates can now include PHP coding. Hope this was useful, Quote Bill Kellum Sounds Good Productions STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE Link to comment Share on other sites More sharing options...
redbone Posted April 20, 2007 Share Posted April 20, 2007 Actually, you'll want to use this to comment it out: <!-- <td class="main"><?php echo tep_customer_greeting(); ?></td> --> I believe that will work better. :-" Quote Link to comment Share on other sites More sharing options...
bkellum Posted April 20, 2007 Share Posted April 20, 2007 Actually, you'll want to use this to comment it out: I believe that will work better.[img=http://www.oscommerce.com/forums/style_emoticons/default/whistling.gif][/quote]Rich, the orignial post was wanting to "move" this script to any place within their STS TEMPLATE.As far as the PHP comment, the following might be a better option but either would do:[code]<td class="main"><?php //echo tep_customer_greeting(); ?></td>[/code]So, what I suggested is the best option. Quote Bill Kellum Sounds Good Productions STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.