DEMAND Performance Posted December 14, 2005 Posted December 14, 2005 Hello everyone, I'm looking through files and trying to find where this line of code is, but I can't find it. I want to remove the line that makes my front page display this: Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account? The full page is here: http://www.demand-performance.com/shop/ It doesn't appear to be inside any of the index files, which it would make the most sense to be near. I also looked in the headers and it didn't appear to be there either.
Nacer Posted December 14, 2005 Posted December 14, 2005 Includes/languages/english.php 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>?'); Enjoy Nacer.
DEMAND Performance Posted December 14, 2005 Author Posted December 14, 2005 What file holds the code that inserts that function? I gave it some more thought and that's a good function to have, but I'd like to change where it's inserted.
Nacer Posted December 15, 2005 Posted December 15, 2005 The function is tep_customer_greeting(); and is called from your index.php. And if you want to play with the body of that function it is in includes/functions/general.php Enjoy Nacer.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.