mikomak Posted September 22, 2005 Posted September 22, 2005 Hi, I'm pretty new to OSC and must say it rocks! I'm using STS to build a custom template and now need to make changes to actual information & layout e.g for the InfoBoxes. How would I go about changing e.g. the Information Infobox? I would like to seperate the Shipping & Returns option in two i.e. 'Shipping' link and a 'Returns' link. Where would I find this info to edit? I've looked around through the pages and can't seem to find it. I've also tried to change the main logo by changing the filename in header.php but this had no effect - I'm guessing because I'm using STS I can insert my logo into the template but wondered if there is a way through the code making sure to maintain it as much as possible? Any help would be greatly appreciated. Thanx.
burtoni Posted September 22, 2005 Posted September 22, 2005 I would go for a contribution, for e.g.: http://www.oscommerce.com/community/contributions,1175 The logo is located in includes/header.php Search for: tep_image(DIR_WS_IMAGES . 'YOUR LOGO.gif' First insert the picture into your IMAGES directory.
mikomak Posted September 22, 2005 Author Posted September 22, 2005 Hi Burtoni, Thanx for that. I've been able to place & re-order the InfoBoxes (and remove some too) to my liking on the template but I need to change the actual data within them. E.g. below is the code for the 'Tell a Friend' box - I can understand this bit but what if I wanted to apply a style to the text box for the email address - where would I find it to amend it? <? define('NAVBAR_TITLE', 'Tell A Friend'); define('HEADING_TITLE', 'Tell A Friend About \'%s\''); define('FORM_TITLE_CUSTOMER_DETAILS', 'Your Details'); define('FORM_TITLE_FRIEND_DETAILS', 'Your Friends Details'); define('FORM_TITLE_FRIEND_MESSAGE', 'Your Message'); define('FORM_FIELD_CUSTOMER_NAME', 'Your Name:'); define('FORM_FIELD_CUSTOMER_EMAIL', 'Your E-Mail Address:'); define('FORM_FIELD_FRIEND_NAME', 'Your Friends Name:'); define('FORM_FIELD_FRIEND_EMAIL', 'Your Friends E-Mail Address:'); define('TEXT_EMAIL_SUCCESSFUL_SENT', 'Your email about <b>%s</b> has been successfully sent to <b>%s</b>.'); define('TEXT_EMAIL_SUBJECT', 'Your friend %s has recommended this great product from %s'); define('TEXT_EMAIL_INTRO', 'Hi %s!' . "\n\n" . 'Your friend, %s, thought that you would be interested in %s from %s.'); define('TEXT_EMAIL_LINK', 'To view the product click on the link below or copy and paste the link into your web browser:' . "\n\n" . '%s'); define('TEXT_EMAIL_SIGNATURE', 'Regards,' . "\n\n" . '%s'); define('ERROR_TO_NAME', 'Error: Your friends name must not be empty.'); define('ERROR_TO_ADDRESS', 'Error: Your friends e-mail address must be a valid e-mail address.'); define('ERROR_FROM_NAME', 'Error: Your name must not be empty.'); define('ERROR_FROM_ADDRESS', 'Error: Your e-mail address must be a valid e-mail address.'); ?> Yep, did exactly that for the logo but it doesn't come up - came up blank. I could rename it oscommerce.gif though I'd like understand why it's not coming up. Thanx, MikoMak
Recommended Posts
Archived
This topic is now archived and is closed to further replies.