Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

need to add a space between two words


surrfman

Recommended Posts

Not sure what to do to display a space between the "date" and the STORE NAME. Tried that wasn't the right idea. I assume there must be something different as the date and the STORE NAME work in conjunction with other files.

 

Here is the errant line of code: define('FOOTER_TEXT_BODY', 'Copyright © ' . date('Y') . ' STORE_NAME . '</a><br />Powered by osCommerce</a>');

?>

 

Thanks,

 

Timmy C

Link to comment
Share on other sites

define('FOOTER_TEXT_BODY', 'Copyright©' . date('Y') . '& nbsp;'. STORE_NAME . '<br />Powered by osCommerce');

 

 

You have to decide if you want the links or not, in case of not, remove the closing </a> (as I did)

 

EDIT & nbsp; is without any empty space, for some reason its not displayed here, so I had to type like this

Link to comment
Share on other sites

thanks for the help! Could I ask another question? When setting a color for a content container, if I go for a slightly darker shade of yellow, and there are two function buttons, one wnat to go darker, is there a way keep all buttons the same color? Using 2.3.1 with a basic theme-roller designed store. Here is the url: www.discountegauges.com

 

Timmy C

Link to comment
Share on other sites

kinda mis-interpreted. when there are multiple buttons on a page, if the page color is more than nearly a white color, something in the j-query code makes one button go darker; it's irritating at best!

Link to comment
Share on other sites

The buttons are built by the tep_draw_button() function. See catalog/includes/functions/html_output.php around Line 340 for the code. The fourth parameter determines the button color: 'primary' is usually darker than 'secondary'. The actual colors used are generated by the jQuery UI Theme, so it's quite possible to make both the same color, or even to make the secondary buttons more prominent than the primary just by changing the theme.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...