chadoz Posted June 25, 2010 Share Posted June 25, 2010 I'm searching for the file where I can edit the welcome page text that reads, "Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account?" I know where everything below that is, but I can't find the file to edit this text above. Help? Link to comment Share on other sites More sharing options...
chadcloman Posted June 25, 2010 Share Posted June 25, 2010 In general, here is how I find stuff like that: Make a copy of the store on my local computer (via FTP). Download and install Windows Grep. Use Windows Grep to search for the text I want to find. Check out Chad's News. Link to comment Share on other sites More sharing options...
Guest Posted June 25, 2010 Share Posted June 25, 2010 I'm searching for the file where I can edit the welcome page text that reads, "Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account?" I know where everything below that is, but I can't find the file to edit this text above. Help? Its in Folder yoursite/includes/english.php look for 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>?'); hope this helps Link to comment Share on other sites More sharing options...
chadoz Posted June 25, 2010 Author Share Posted June 25, 2010 Its in Folder yoursite/includes/english.php look for 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>?'); hope this helps Thanks - What about the text for the breadcrumb trail? I'm looking to edit the home page link (top). Link to comment Share on other sites More sharing options...
chadoz Posted June 25, 2010 Author Share Posted June 25, 2010 Thanks - What about the text for the breadcrumb trail? I'm looking to edit the home page link (top). And while I'm at it, 1.) What about the details at the bottom " 574 requests since Tuesday 04 May, 2010 " I need to remove that detail... 2.) The text when there is no products in the category, "There are no products to list in this category." much thanks Link to comment Share on other sites More sharing options...
Guest Posted June 25, 2010 Share Posted June 25, 2010 And while I'm at it, 1.) What about the details at the bottom " 574 requests since Tuesday 04 May, 2010 " I need to remove that detail... 2.) The text when there is no products in the category, "There are no products to list in this category." much thanks 574 requests since Tuesday 04 May, 2010 <---- this is in the yourpage/includes/footer.php everything else should be in the yoursite/includes/english.php OR yoursite/includes/english/ index.php if you send a link to your site I could help better serve you. Link to comment Share on other sites More sharing options...
chadoz Posted June 25, 2010 Author Share Posted June 25, 2010 574 requests since Tuesday 04 May, 2010 <---- this is in the yourpage/includes/footer.php everything else should be in the yoursite/includes/english.php OR yoursite/includes/english/ index.php if you send a link to your site I could help better serve you. Thanks. I found everything. However, with the following: "define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');" Where do I edit the text color/font characteristics? Is there a file that has the definitions I.E TEXT_NO_PRODUCTS? Also looking for editing footer color options for: tep_display_banner. <td align="center"><?php echo tep_display_banner('static', $banner); ?></td> Link to comment Share on other sites More sharing options...
chadcloman Posted June 25, 2010 Share Posted June 25, 2010 So where do I edit the text color/font characteristics? Is there a file that has the definitions I.E TEXT_NO_PRODUCTS? Not exactly. And it depends on what osCommerce template you're using. If it's the standard template, the color/font characteristics are defined by the CSS rules (in catalog/stylesheet.css). The rule in question is the following: TD.productListing-data But this class is for all of the product listings, and changing it would affect everything. After looking at the code that outputs TEXT_NO_PRODUCTS (in catalog/includes/modules/product_listing.php and catalog/includes/classes/boxes.php), it appears that you can set the color/font by including it in the TEXT_NO_PRODUCTS definition. For example: define('TEXT_NO_PRODUCTS', '<span style="color:red;font-family:\'Times New Roman\';">There are no products to list in this category.</span>'); Check out Chad's News. Link to comment Share on other sites More sharing options...
chadcloman Posted June 25, 2010 Share Posted June 25, 2010 Also looking for editing footer color options for: tep_display_banner. Nearly all of the colors and fonts are defined by the CSS rules in catalog/stylesheet.css. For your particular question, tep_display_banner() is a bit interesting because it either (1) displays an image or (2) displays the HTML you've specified in the banner manager. In the first case, the color doesn't really matter. In the second case, you can specify the color in the HTML. Tracing stuff in osCommerce can be difficult at times. I use two methods to find out which CSS rules and classes/IDs are in effect. The first is to view the page's HTML source. The second is to use the web developer extensions for Firefox -- "Web Developer" and "Firebug" -- that can tell you which rules are in effect for any text on the page. Check out Chad's News. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.