GaryM Posted April 23, 2003 Share Posted April 23, 2003 I've gone into catalog/default.php line 294 and changed it from: <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> TO: <td class="pageHeading"><?php echo tep_customer_greeting(); ?></td> This way when people open my page, instead of "What's new here? (or whatever it used to say) it now says either "Welcome guest, do you wanna' log in?" or "Welcome back _____" at the top of the page. The problem I'm having is that it looks like this: Welcome Guest,do you wann' log in?" Thanks for any help. Have you ever gotten any help from these forums? Be part of the community and help out by answering a question or 2. Pass on what you know about OSC to someone who needs help. Link to comment Share on other sites More sharing options...
GaryM Posted April 23, 2003 Author Share Posted April 23, 2003 Sorry for the followup, but just to be clear. I'm NOT trying to figure out how to make all the letters smaller. I'm trying to figure out how to get "guest" or the user's name to match the size of the words arount it when it is inserted. Thanks Have you ever gotten any help from these forums? Be part of the community and help out by answering a question or 2. Pass on what you know about OSC to someone who needs help. Link to comment Share on other sites More sharing options...
Guest Posted April 23, 2003 Share Posted April 23, 2003 stylesheet.css look for this: SPAN.greetUser { font-family: Verdana, Arial, sans-serif; font-size: 12px; color: #f0a480; font-weight: bold; } Change the font-size. and checkout www.oscdox.com or http://wiki.oscommerce.com Link to comment Share on other sites More sharing options...
GaryM Posted April 23, 2003 Author Share Posted April 23, 2003 Thanks for the reply. So the font size is something I'd have to hard-code in and not something that would/could be set based on where/how it was used on any given page? I was hoping that it could be determined by where it was being used, so when it was in a <td class="pageHeading"> it would be big and when it was down in the <td class="main"> it would be small (like the rest of the text that surrounds it) Oh well. Thanks Have you ever gotten any help from these forums? Be part of the community and help out by answering a question or 2. Pass on what you know about OSC to someone who needs help. Link to comment Share on other sites More sharing options...
GaryM Posted April 23, 2003 Author Share Posted April 23, 2003 Duh, I figured it out. I just needed to remove the <span> references in lines 274-276 of catalog/includes/languages/english.php They were overriding the ones laid out where the text was being insterted. Now the text all appears the same no mattere where it's used. Thanks Have you ever gotten any help from these forums? Be part of the community and help out by answering a question or 2. Pass on what you know about OSC to someone who needs help. Link to comment Share on other sites More sharing options...
Guest Posted April 24, 2003 Share Posted April 24, 2003 You could do it the way you want. Look in your main language file, e.g catalog/includes/language/english.php. find the following: define('TEXT_GREETING_PERSONAL', 'Welcome back <span class="greetUser">%s!</span>'); 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>'); Take out the <span class="greetUser"> then this would display the same as everything else. Link to comment Share on other sites More sharing options...
Guest Posted April 24, 2003 Share Posted April 24, 2003 DOH!!! :? Link to comment Share on other sites More sharing options...
GaryM Posted April 24, 2003 Author Share Posted April 24, 2003 DOH!!! :? :D A statement that remains true to your avatar :) Thanks though Paul, I don't know anything about PHP but after your first reply I went back and it clicked in my head what I was probably missing. This forum is great, BTW. I've been reading for a couple weeks on and off and am truly impressed by the helpfulness here. Good stuff. :thumbsup: Have you ever gotten any help from these forums? Be part of the community and help out by answering a question or 2. Pass on what you know about OSC to someone who needs help. Link to comment Share on other sites More sharing options...
Guest Posted April 24, 2003 Share Posted April 24, 2003 Gary M. No problem, There are a lot of helpful members on this forum and as I quote again " toolcazy " wrote in another thread about the people who do ask for help respond in a pleasant manner and as you seem to be able to take the time to do so, i think a lot more people will be willing to help you. I'm going to take a bit of time off this theme thing now and get into this chatbox thing "I WANT TO BE A BELIEVER" Good luck, Paul Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.