chandler Posted March 2, 2007 Share Posted March 2, 2007 border line is controlled another place in the stylesheet categoriesBox i finally found it. it was here: .fixcenter { width: 778px; border: solid; border-width: 1px; background: #ffffff; background-image: url("images/eco.gif"); background-center: center; color: #6F99EB;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< margin: auto; margin-top: 20px; text-align: left; thanx for thinking with me. Quote Link to comment Share on other sites More sharing options...
Kidz Toyz Posted March 7, 2007 Share Posted March 7, 2007 I successfully added the BDP, (thanks for the contribution :rolleyes: ) Now I have another problem. I tried to add another box to the right hand column, following the instructions on the knowledge base. All I got was a string of error messages. Presuming that I'd somehow messed it up, I reversed the process and removed the changes that I'd made. Everything now appears normal until you click on certain buttons (ie add to cart, update cart) then I get this error message: Warning: Cannot modify header information - headers already sent by (output started at /data/members/paid/k/i/kidztoyz.org.uk/htdocs/www/includes/languages/english.php:2) in /data/members/paid/k/i/kidztoyz.org.uk/htdocs/www/includes/functions/general.php on line 33 I only have 2 contribs added (BDP & add info bar to footer) and as far as I'm aware I haven't had to change anything in general.php for either of them. I've looked at the file and can't see whats wrong with it. Any ideas? this is line 33 header('Location: ' . $url); this is the rest of the section including line 33 //// // Redirect to another page or site function tep_redirect($url) { if ( (strstr($url, "\n") != false) || (strstr($url, "\r") != false) ) { tep_redirect(tep_href_link(FILENAME_DEFAULT, '', 'NONSSL', false)); } if ( (ENABLE_SSL == true) && (getenv('HTTPS') == 'on') ) { // We are loading an SSL page if (substr($url, 0, strlen(HTTP_SERVER)) == HTTP_SERVER) { // NONSSL url $url = HTTPS_SERVER . substr($url, strlen(HTTP_SERVER)); // Change it to SSL } } header('Location: ' . $url); tep_exit(); } //// I'm completely stuck on this?! Nikki Quote Link to comment Share on other sites More sharing options...
♥toyicebear Posted March 8, 2007 Author Share Posted March 8, 2007 I successfully added the BDP, (thanks for the contribution :rolleyes: ) Now I have another problem. I tried to add another box to the right hand column, following the instructions on the knowledge base. All I got was a string of error messages. Presuming that I'd somehow messed it up, I reversed the process and removed the changes that I'd made. Everything now appears normal until you click on certain buttons (ie add to cart, update cart) then I get this error message: Warning: Cannot modify header information - headers already sent by (output started at /data/members/paid/k/i/kidztoyz.org.uk/htdocs/www/includes/languages/english.php:2) in /data/members/paid/k/i/kidztoyz.org.uk/htdocs/www/includes/functions/general.php on line 33 I only have 2 contribs added (BDP & add info bar to footer) and as far as I'm aware I haven't had to change anything in general.php for either of them. I've looked at the file and can't see whats wrong with it. Any ideas? this is line 33 header('Location: ' . $url); this is the rest of the section including line 33 //// // Redirect to another page or site function tep_redirect($url) { if ( (strstr($url, "\n") != false) || (strstr($url, "\r") != false) ) { tep_redirect(tep_href_link(FILENAME_DEFAULT, '', 'NONSSL', false)); } if ( (ENABLE_SSL == true) && (getenv('HTTPS') == 'on') ) { // We are loading an SSL page if (substr($url, 0, strlen(HTTP_SERVER)) == HTTP_SERVER) { // NONSSL url $url = HTTPS_SERVER . substr($url, strlen(HTTP_SERVER)); // Change it to SSL } } header('Location: ' . $url); tep_exit(); } //// I'm completely stuck on this?! Nikki whats in your english.php file? Quote Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce - Commercial Support Inquiries - OSC 2.3+ How To To see what more i can do for you check out my profile [click here] Link to comment Share on other sites More sharing options...
Kidz Toyz Posted March 8, 2007 Share Posted March 8, 2007 whats in your english.php file? This is my english php <html><head><title></title></head> <BODY style="DISPLAY: block; BACKGROUND-COLOR: #ffffff"><?php /* $Id: english.php,v 1.114 2003/07/09 18:13:39 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url] Copyright © 2003 osCommerce Released under the GNU General Public License */ // look in your $PATH_LOCALE/locale directory for available locales // or type locale -a on the server. // Examples: // on RedHat try 'en_US' // on FreeBSD try 'en_US.ISO_8859-1' // on Windows try 'en', or 'English' @setlocale(LC_TIME, 'en_US'); define('DATE_FORMAT_SHORT', '%m/%d/%Y'); // this is used for strftime() define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime() define('DATE_FORMAT', 'm/d/Y'); // this is used for date() define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S'); //// // Return date in raw format // $date should be in format mm/dd/yyyy // raw date is in format YYYYMMDD, or DDMMYYYY function tep_date_raw($date, $reverse = false) { if ($reverse) { return substr($date, 3, 2) . substr($date, 0, 2) . substr($date, 6, 4); } else { return substr($date, 6, 4) . substr($date, 0, 2) . substr($date, 3, 2); } } // if USE_DEFAULT_LANGUAGE_CURRENCY is true, use the following currency, instead of the applications default currency (used when changing language) define('LANGUAGE_CURRENCY', 'GBP'); // Global entries for the <html> tag define('HTML_PARAMS','dir="LTR" lang="en"'); // charset for web pages and emails define('CHARSET', 'iso-8859-1'); // page title define('TITLE', 'osCommerce'); // header text in includes/header.php define('HEADER_TITLE_CREATE_ACCOUNT', 'Create an Account'); define('HEADER_TITLE_MY_ACCOUNT', 'My Account'); define('HEADER_TITLE_CART_CONTENTS', 'Cart Contents'); define('HEADER_TITLE_CHECKOUT', 'Checkout'); define('HEADER_TITLE_TOP', 'Top'); define('HEADER_TITLE_CATALOG', 'Catalog'); define('HEADER_TITLE_LOGOFF', 'Log Off'); define('HEADER_TITLE_LOGIN', 'Log In'); // footer text in includes/footer.php define('FOOTER_TEXT_REQUESTS_SINCE', 'requests since'); // text for gender define('MALE', 'Male'); define('FEMALE', 'Female'); define('MALE_ADDRESS', 'Mr.'); define('FEMALE_ADDRESS', 'Ms.'); // text for date of birth example define('DOB_FORMAT_STRING', 'mm/dd/yyyy'); // categories box text in includes/boxes/categories.php define('BOX_HEADING_CATEGORIES', 'Categories'); // manufacturers box text in includes/boxes/manufacturers.php define('BOX_HEADING_MANUFACTURERS', 'Manufacturers'); // whats_new box text in includes/boxes/whats_new.php define('BOX_HEADING_WHATS_NEW', 'What\'s New?'); // quick_find box text in includes/boxes/quick_find.php define('BOX_HEADING_SEARCH', 'Quick Find'); define('BOX_SEARCH_TEXT', 'Use keywords to find the product you are looking for.'); define('BOX_SEARCH_ADVANCED_SEARCH', 'Advanced Search'); // specials box text in includes/boxes/specials.php define('BOX_HEADING_SPECIALS', 'Specials'); // reviews box text in includes/boxes/reviews.php define('BOX_HEADING_REVIEWS', 'Reviews'); define('BOX_REVIEWS_WRITE_REVIEW', 'Write a review on this product!'); define('BOX_REVIEWS_NO_REVIEWS', 'There are currently no product reviews'); define('BOX_REVIEWS_TEXT_OF_5_STARS', '%s of 5 Stars!'); // shopping_cart box text in includes/boxes/shopping_cart.php define('BOX_HEADING_SHOPPING_CART', 'Shopping Cart'); define('BOX_SHOPPING_CART_EMPTY', '0 items'); // order_history box text in includes/boxes/order_history.php define('BOX_HEADING_CUSTOMER_ORDERS', 'Order History'); // best_sellers box text in includes/boxes/best_sellers.php define('BOX_HEADING_BESTSELLERS', 'Bestsellers'); define('BOX_HEADING_BESTSELLERS_IN', 'Bestsellers in<br> '); // notifications box text in includes/boxes/products_notifications.php define('BOX_HEADING_NOTIFICATIONS', 'Notifications'); define('BOX_NOTIFICATIONS_NOTIFY', 'Notify me of updates to <b>%s</b>'); define('BOX_NOTIFICATIONS_NOTIFY_REMOVE', 'Do not notify me of updates to <b>%s</b>'); // manufacturer box text define('BOX_HEADING_MANUFACTURER_INFO', 'Manufacturer Info'); define('BOX_MANUFACTURER_INFO_HOMEPAGE', '%s Homepage'); define('BOX_MANUFACTURER_INFO_OTHER_PRODUCTS', 'Other products'); // languages box text in includes/boxes/languages.php define('BOX_HEADING_LANGUAGES', 'Languages'); // currencies box text in includes/boxes/currencies.php define('BOX_HEADING_CURRENCIES', 'Currencies'); // information box text in includes/boxes/information.php define('BOX_HEADING_INFORMATION', 'Information'); define('BOX_INFORMATION_PRIVACY', 'Privacy Notice'); define('BOX_INFORMATION_CONDITIONS', 'Conditions of Use'); define('BOX_INFORMATION_SHIPPING', 'Shipping & Returns'); define('BOX_INFORMATION_CONTACT', 'Contact Us'); // tell a friend box text in includes/boxes/tell_a_friend.php define('BOX_HEADING_TELL_A_FRIEND', 'Tell A Friend'); define('BOX_TELL_A_FRIEND_TEXT', 'Tell someone you know about this product.'); // checkout procedure text define('CHECKOUT_BAR_DELIVERY', 'Delivery Information'); define('CHECKOUT_BAR_PAYMENT', 'Payment Information'); define('CHECKOUT_BAR_CONFIRMATION', 'Confirmation'); define('CHECKOUT_BAR_FINISHED', 'Finished!'); // pull down default text define('PULL_DOWN_DEFAULT', 'Please Select'); define('TYPE_BELOW', 'Type Below'); // javascript messages define('JS_ERROR', 'Errors have occured during the process of your form.\n\nPlease make the following corrections:\n\n'); define('JS_REVIEW_TEXT', '* The \'Review Text\' must have at least ' . REVIEW_TEXT_MIN_LENGTH . ' characters.\n'); define('JS_REVIEW_RATING', '* You must rate the product for your review.\n'); define('JS_ERROR_NO_PAYMENT_MODULE_SELECTED', '* Please select a payment method for your order.\n'); define('JS_ERROR_SUBMITTED', 'This form has already been submitted. Please press Ok and wait for this process to be completed.'); define('ERROR_NO_PAYMENT_MODULE_SELECTED', 'Please select a payment method for your order.'); define('CATEGORY_COMPANY', 'Company Details'); define('CATEGORY_PERSONAL', 'Your Personal Details'); define('CATEGORY_ADDRESS', 'Your Address'); define('CATEGORY_CONTACT', 'Your Contact Information'); define('CATEGORY_OPTIONS', 'Options'); define('CATEGORY_PASSWORD', 'Your Password'); define('ENTRY_COMPANY', 'Company Name:'); define('ENTRY_COMPANY_ERROR', ''); define('ENTRY_COMPANY_TEXT', ''); define('ENTRY_GENDER', 'Gender:'); define('ENTRY_GENDER_ERROR', 'Please select your Gender.'); define('ENTRY_GENDER_TEXT', '*'); define('ENTRY_FIRST_NAME', 'First Name:'); define('ENTRY_FIRST_NAME_ERROR', 'Your First Name must contain a minimum of ' . ENTRY_FIRST_NAME_MIN_LENGTH . ' characters.'); define('ENTRY_FIRST_NAME_TEXT', '*'); define('ENTRY_LAST_NAME', 'Last Name:'); define('ENTRY_LAST_NAME_ERROR', 'Your Last Name must contain a minimum of ' . ENTRY_LAST_NAME_MIN_LENGTH . ' characters.'); define('ENTRY_LAST_NAME_TEXT', '*'); define('ENTRY_DATE_OF_BIRTH', 'Date of Birth:'); define('ENTRY_DATE_OF_BIRTH_ERROR', 'Your Date of Birth must be in this format: MM/DD/YYYY (eg 05/21/1970)'); define('ENTRY_DATE_OF_BIRTH_TEXT', '* (eg. 05/21/1970)'); define('ENTRY_EMAIL_ADDRESS', 'E-Mail Address:'); define('ENTRY_EMAIL_ADDRESS_ERROR', 'Your E-Mail Address must contain a minimum of ' . ENTRY_EMAIL_ADDRESS_MIN_LENGTH . ' characters.'); define('ENTRY_EMAIL_ADDRESS_CHECK_ERROR', 'Your E-Mail Address does not appear to be valid - please make any necessary corrections.'); define('ENTRY_EMAIL_ADDRESS_ERROR_EXISTS', 'Your E-Mail Address already exists in our records - please log in with the e-mail address or create an account with a different address.'); define('ENTRY_EMAIL_ADDRESS_TEXT', '*'); define('ENTRY_STREET_ADDRESS', 'Street Address:'); define('ENTRY_STREET_ADDRESS_ERROR', 'Your Street Address must contain a minimum of ' . ENTRY_STREET_ADDRESS_MIN_LENGTH . ' characters.'); define('ENTRY_STREET_ADDRESS_TEXT', '*'); define('ENTRY_SUBURB', 'Suburb:'); define('ENTRY_SUBURB_ERROR', ''); define('ENTRY_SUBURB_TEXT', ''); define('ENTRY_POST_CODE', 'Post Code:'); define('ENTRY_POST_CODE_ERROR', 'Your Post Code must contain a minimum of ' . ENTRY_POSTCODE_MIN_LENGTH . ' characters.'); define('ENTRY_POST_CODE_TEXT', '*'); define('ENTRY_CITY', 'City:'); define('ENTRY_CITY_ERROR', 'Your City must contain a minimum of ' . ENTRY_CITY_MIN_LENGTH . ' characters.'); define('ENTRY_CITY_TEXT', '*'); define('ENTRY_STATE', 'State/Province:'); define('ENTRY_STATE_ERROR', 'Your State must contain a minimum of ' . ENTRY_STATE_MIN_LENGTH . ' characters.'); define('ENTRY_STATE_ERROR_SELECT', 'Please select a state from the States pull down menu.'); define('ENTRY_STATE_TEXT', '*'); define('ENTRY_COUNTRY', 'Country:'); define('ENTRY_COUNTRY_ERROR', 'You must select a country from the Countries pull down menu.'); define('ENTRY_COUNTRY_TEXT', '*'); define('ENTRY_TELEPHONE_NUMBER', 'Telephone Number:'); define('ENTRY_TELEPHONE_NUMBER_ERROR', 'Your Telephone Number must contain a minimum of ' . ENTRY_TELEPHONE_MIN_LENGTH . ' characters.'); define('ENTRY_TELEPHONE_NUMBER_TEXT', '*'); define('ENTRY_FAX_NUMBER', 'Fax Number:'); define('ENTRY_FAX_NUMBER_ERROR', ''); define('ENTRY_FAX_NUMBER_TEXT', ''); define('ENTRY_NEWSLETTER', 'Newsletter:'); define('ENTRY_NEWSLETTER_TEXT', ''); define('ENTRY_NEWSLETTER_YES', 'Subscribed'); define('ENTRY_NEWSLETTER_NO', 'Unsubscribed'); define('ENTRY_NEWSLETTER_ERROR', ''); define('ENTRY_PASSWORD', 'Password:'); define('ENTRY_PASSWORD_ERROR', 'Your Password must contain a minimum of ' . ENTRY_PASSWORD_MIN_LENGTH . ' characters.'); define('ENTRY_PASSWORD_ERROR_NOT_MATCHING', 'The Password Confirmation must match your Password.'); define('ENTRY_PASSWORD_TEXT', '*'); define('ENTRY_PASSWORD_CONFIRMATION', 'Password Confirmation:'); define('ENTRY_PASSWORD_CONFIRMATION_TEXT', '*'); define('ENTRY_PASSWORD_CURRENT', 'Current Password:'); define('ENTRY_PASSWORD_CURRENT_TEXT', '*'); define('ENTRY_PASSWORD_CURRENT_ERROR', 'Your Password must contain a minimum of ' . ENTRY_PASSWORD_MIN_LENGTH . ' characters.'); define('ENTRY_PASSWORD_NEW', 'New Password:'); define('ENTRY_PASSWORD_NEW_TEXT', '*'); define('ENTRY_PASSWORD_NEW_ERROR', 'Your new Password must contain a minimum of ' . ENTRY_PASSWORD_MIN_LENGTH . ' characters.'); define('ENTRY_PASSWORD_NEW_ERROR_NOT_MATCHING', 'The Password Confirmation must match your new Password.'); define('PASSWORD_HIDDEN', '--HIDDEN--'); define('FORM_REQUIRED_INFORMATION', '* Required information'); // constants for use in tep_prev_next_display function define('TEXT_RESULT_PAGE', 'Result Pages:'); define('TEXT_DISPLAY_NUMBER_OF_PRODUCTS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> products)'); define('TEXT_DISPLAY_NUMBER_OF_ORDERS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> orders)'); define('TEXT_DISPLAY_NUMBER_OF_REVIEWS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> reviews)'); define('TEXT_DISPLAY_NUMBER_OF_PRODUCTS_NEW', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> new products)'); define('TEXT_DISPLAY_NUMBER_OF_SPECIALS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> specials)'); define('PREVNEXT_TITLE_FIRST_PAGE', 'First Page'); define('PREVNEXT_TITLE_PREVIOUS_PAGE', 'Previous Page'); define('PREVNEXT_TITLE_NEXT_PAGE', 'Next Page'); define('PREVNEXT_TITLE_LAST_PAGE', 'Last Page'); define('PREVNEXT_TITLE_PAGE_NO', 'Page %d'); define('PREVNEXT_TITLE_PREV_SET_OF_NO_PAGE', 'Previous Set of %d Pages'); define('PREVNEXT_TITLE_NEXT_SET_OF_NO_PAGE', 'Next Set of %d Pages'); define('PREVNEXT_BUTTON_FIRST', '<<FIRST'); define('PREVNEXT_BUTTON_PREV', '[<< Prev]'); define('PREVNEXT_BUTTON_NEXT', '[Next >>]'); define('PREVNEXT_BUTTON_LAST', 'LAST>>'); define('IMAGE_BUTTON_ADD_ADDRESS', 'Add Address'); define('IMAGE_BUTTON_ADDRESS_BOOK', 'Address Book'); define('IMAGE_BUTTON_BACK', 'Back'); define('IMAGE_BUTTON_BUY_NOW', 'Buy Now'); define('IMAGE_BUTTON_CHANGE_ADDRESS', 'Change Address'); define('IMAGE_BUTTON_CHECKOUT', 'Checkout'); define('IMAGE_BUTTON_CONFIRM_ORDER', 'Confirm Order'); define('IMAGE_BUTTON_CONTINUE', 'Continue'); define('IMAGE_BUTTON_CONTINUE_SHOPPING', 'Continue Shopping'); define('IMAGE_BUTTON_DELETE', 'Delete'); define('IMAGE_BUTTON_EDIT_ACCOUNT', 'Edit Account'); define('IMAGE_BUTTON_HISTORY', 'Order History'); define('IMAGE_BUTTON_LOGIN', 'Sign In'); define('IMAGE_BUTTON_IN_CART', 'Add to Cart'); define('IMAGE_BUTTON_NOTIFICATIONS', 'Notifications'); define('IMAGE_BUTTON_QUICK_FIND', 'Quick Find'); define('IMAGE_BUTTON_REMOVE_NOTIFICATIONS', 'Remove Notifications'); define('IMAGE_BUTTON_REVIEWS', 'Reviews'); define('IMAGE_BUTTON_SEARCH', 'Search'); define('IMAGE_BUTTON_SHIPPING_OPTIONS', 'Shipping Options'); define('IMAGE_BUTTON_TELL_A_FRIEND', 'Tell a Friend'); define('IMAGE_BUTTON_UPDATE', 'Update'); define('IMAGE_BUTTON_UPDATE_CART', 'Update Cart'); define('IMAGE_BUTTON_WRITE_REVIEW', 'Write Review'); define('SMALL_IMAGE_BUTTON_DELETE', 'Delete'); define('SMALL_IMAGE_BUTTON_EDIT', 'Edit'); define('SMALL_IMAGE_BUTTON_VIEW', 'View'); define('ICON_ARROW_RIGHT', 'more'); define('ICON_CART', 'In Cart'); define('ICON_ERROR', 'Error'); define('ICON_SUCCESS', 'Success'); define('ICON_WARNING', 'Warning'); 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>?'); define('TEXT_SORT_PRODUCTS', 'Sort products '); define('TEXT_DESCENDINGLY', 'descendingly'); define('TEXT_ASCENDINGLY', 'ascendingly'); define('TEXT_BY', ' by '); define('TEXT_REVIEW_BY', 'by %s'); define('TEXT_REVIEW_WORD_COUNT', '%s words'); define('TEXT_REVIEW_RATING', 'Rating: %s [%s]'); define('TEXT_REVIEW_DATE_ADDED', 'Date Added: %s'); define('TEXT_NO_REVIEWS', 'There are currently no product reviews.'); define('TEXT_NO_NEW_PRODUCTS', 'There are currently no products.'); define('TEXT_UNKNOWN_TAX_RATE', 'Unknown tax rate'); define('TEXT_REQUIRED', '<span class="errorText">Required</span>'); define('ERROR_TEP_MAIL', '<font face="Verdana, Arial" size="2" color="#ff0000"><b><small>TEP ERROR:</small> Cannot send the email through the specified SMTP server. Please check your php.ini setting and correct the SMTP server if necessary.</b></font>'); define('WARNING_INSTALL_DIRECTORY_EXISTS', 'Warning: Installation directory exists at: ' . dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/install. Please remove this directory for security reasons.'); define('WARNING_CONFIG_FILE_WRITEABLE', 'Warning: I am able to write to the configuration file: ' . dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.'); define('WARNING_SESSION_DIRECTORY_NON_EXISTENT', 'Warning: The sessions directory does not exist: ' . tep_session_save_path() . '. Sessions will not work until this directory is created.'); define('WARNING_SESSION_DIRECTORY_NOT_WRITEABLE', 'Warning: I am not able to write to the sessions directory: ' . tep_session_save_path() . '. Sessions will not work until the right user permissions are set.'); define('WARNING_SESSION_AUTO_START', 'Warning: session.auto_start is enabled - please disable this php feature in php.ini and restart the web server.'); define('WARNING_DOWNLOAD_DIRECTORY_NON_EXISTENT', 'Warning: The downloadable products directory does not exist: ' . DIR_FS_DOWNLOAD . '. Downloadable products will not work until this directory is valid.'); define('TEXT_CCVAL_ERROR_INVALID_DATE', 'The expiry date entered for the credit card is invalid.<br>Please check the date and try again.'); define('TEXT_CCVAL_ERROR_INVALID_NUMBER', 'The credit card number entered is invalid.<br>Please check the number and try again.'); define('TEXT_CCVAL_ERROR_UNKNOWN_CARD', 'The first four digits of the number entered are: %s<br>If that number is correct, we do not accept that type of credit card.<br>If it is wrong, please try again.'); /* The following copyright announcement can only be appropriately modified or removed if the layout of the site theme has been modified to distinguish itself from the default osCommerce-copyrighted theme. For more information please read the following Frequently Asked Questions entry on the osCommerce support site: [url="http://www.oscommerce.com/community.php/faq,26/q,50"]http://www.oscommerce.com/community.php/faq,26/q,50[/url] Please leave this comment intact together with the following copyright announcement. */ define('FOOTER_TEXT_BODY', 'Copyright © 2003 <a href="http://www.oscommerce.com" target="_blank">osCommerce</a><br>Powered by <a href="http://www.oscommerce.com" target="_blank">osCommerce</a>'); ?> Thanks for the prompt reply, nikki Quote Link to comment Share on other sites More sharing options...
♥toyicebear Posted March 8, 2007 Author Share Posted March 8, 2007 remove this from the top of english.php <html><head><title></title></head><BODY style="DISPLAY: block; BACKGROUND-COLOR: #ffffff"> Quote Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce - Commercial Support Inquiries - OSC 2.3+ How To To see what more i can do for you check out my profile [click here] Link to comment Share on other sites More sharing options...
Kidz Toyz Posted March 8, 2007 Share Posted March 8, 2007 remove this from the top of english.php That didn't work quite as well as I'd hoped. My english php now appears above the shop logo (looking on the bright side though, it is colour coordinated) If you click through to add a product to the basket it now has.... Warning: Cannot modify header information - headers already sent by (output started at /data/members/paid/k/i/kidztoyz.org.uk/htdocs/www/includes/languages/english.php:18) ....rather than the previous error message. Quote Link to comment Share on other sites More sharing options...
Kidz Toyz Posted March 8, 2007 Share Posted March 8, 2007 That didn't work quite as well as I'd hoped. :rolleyes: Ha Ha, got the little bugger! I used one of the file compare programs you recommended to me a couple of days ago to compare my english.php with the one on here osCommerce cross reference site ( for those that are as clueless as me with all this php it's at http://oscdox.com/crossx/nav.html?_functions/index.html ) and found @setlocale(LC_TIME, 'en_US.[color="#FF0000"]ISO_8859-1'[/color]); ..the red bit was missing on line 19, as was <?php on line 1. The site seems to be back to normal now. :thumbsup: Thankyou so much. Your time and effort is very much appreciated! Regards, nikki :D Quote Link to comment Share on other sites More sharing options...
aplund Posted March 10, 2007 Share Posted March 10, 2007 Hello! Me and my friend are fighting to get our osc webshop to work the way we want. I've just installed the basic design pack contribution thing into our root, but where shall i put it? Is it right that I must copy the files into both directories: /www.teknikikubik.se/ and /www.teknikikubik.se/oscommerce_st/catalog/ this is our side looks like today: http://www.teknikikubik.se as you see we havent figured out how to put our logotype up in the middle, someone please help us where to write in the stylesheet and what we shall write, where in the root should the pictures be? and last I am wondering how to put a logotype in the background. I have read the earlier topics but I dont really understand how to do? Someone please help me out here Thanx! Quote Link to comment Share on other sites More sharing options...
♥toyicebear Posted March 11, 2007 Author Share Posted March 11, 2007 Hello! Me and my friend are fighting to get our osc webshop to work the way we want. I've just installed the basic design pack contribution thing into our root, but where shall i put it? Is it right that I must copy the files into both directories: /www.teknikikubik.se/ and /www.teknikikubik.se/oscommerce_st/catalog/ this is our side looks like today: http://www.teknikikubik.se as you see we havent figured out how to put our logotype up in the middle, someone please help us where to write in the stylesheet and what we shall write, where in the root should the pictures be? and last I am wondering how to put a logotype in the background. I have read the earlier topics but I dont really understand how to do? Someone please help me out here Thanx! BDP is active on your root site, as for design click on and READ basics for osc design in my signature. Quote Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce - Commercial Support Inquiries - OSC 2.3+ How To To see what more i can do for you check out my profile [click here] Link to comment Share on other sites More sharing options...
♥toyicebear Posted March 11, 2007 Author Share Posted March 11, 2007 Hello! Me and my friend are fighting to get our osc webshop to work the way we want. I've just installed the basic design pack contribution thing into our root, but where shall i put it? Is it right that I must copy the files into both directories: /www.teknikikubik.se/ and /www.teknikikubik.se/oscommerce_st/catalog/ this is our side looks like today: http://www.teknikikubik.se as you see we havent figured out how to put our logotype up in the middle, someone please help us where to write in the stylesheet and what we shall write, where in the root should the pictures be? and last I am wondering how to put a logotype in the background. I have read the earlier topics but I dont really understand how to do? Someone please help me out here Thanx! BDP is active on your root site, as for design click on and READ basics for osc design in my signature. Quote Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce - Commercial Support Inquiries - OSC 2.3+ How To To see what more i can do for you check out my profile [click here] Link to comment Share on other sites More sharing options...
♥toyicebear Posted March 11, 2007 Author Share Posted March 11, 2007 (edited) Deleted - double posting... Edited March 11, 2007 by toyicebear Quote Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce - Commercial Support Inquiries - OSC 2.3+ How To To see what more i can do for you check out my profile [click here] Link to comment Share on other sites More sharing options...
LeonN Posted March 14, 2007 Share Posted March 14, 2007 Hi, The .css button part transforms all osc standard button calles into css defined buttons. Ie. the buttons looks are defined in stylesheet.css , you can have different borders, you can bevel the borders for a more button like look and/or you can add graphical background images to the buttons aswell and so on. This css-button thing does not seem to work for me! Please take a look this specific part of my site: www.lin-trading.com/product_info.php? My html_output.php: The code for the submit-buttons: function tep_image_submit($image, $value = '-AltValue-', $parameters = '') { global $language; $css_submit = '<input type="submit" class="cssButton" value="' . tep_output_string($value) . '" />'; return $css_submit; } and the code for link-buttons (i.e. review- or continuebuttons): function tep_image_button($image, $value = '-AltValue-', $parameters = '') { global $language; $image = '<span class="cssButton"> ' . tep_output_string($value) . ' </span>'; return $image; } I did change from <div></div> to <span></span> I got this from support for "CSS Buttons Everywhere" (http://www.oscommerce.com/forums/index.php?showtopic=161156) . It did align the Buy Now Button up nicely with the text, but It did not help on the "graphic" looks. So It Is only the submit-buttons that seems to get css threatment and not the link-buttons.....?!?! Could It be a browser issue? I use IE 5.5 (or IE 6?) I hope somebody out there Is able to help because I really like the css-buttons. Thanks In advance! :thumbsup: Quote Link to comment Share on other sites More sharing options...
♥toyicebear Posted March 15, 2007 Author Share Posted March 15, 2007 This css-button thing does not seem to work for me! Please take a look this specific part of my site: www.lin-trading.com/product_info.php? My html_output.php: The code for the submit-buttons: function tep_image_submit($image, $value = '-AltValue-', $parameters = '') { global $language; $css_submit = '<input type="submit" class="cssButton" value="' . tep_output_string($value) . '" />'; return $css_submit; } and the code for link-buttons (i.e. review- or continuebuttons): function tep_image_button($image, $value = '-AltValue-', $parameters = '') { global $language; $image = '<span class="cssButton"> ' . tep_output_string($value) . ' </span>'; return $image; } I did change from <div></div> to <span></span> I got this from support for "CSS Buttons Everywhere" (http://www.oscommerce.com/forums/index.php?showtopic=161156) . It did align the Buy Now Button up nicely with the text, but It did not help on the "graphic" looks. So It Is only the submit-buttons that seems to get css threatment and not the link-buttons.....?!?! Could It be a browser issue? I use IE 5.5 (or IE 6?) I hope somebody out there Is able to help because I really like the css-buttons. Thanks In advance! :thumbsup: In the stylesheet use simple css defines for the css buttons, if you want effects use background images. Do not use css button spesific effects in the stylesheet, they will not always work with the form buttons and will cause differnt looks in different browsers. Quote Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce - Commercial Support Inquiries - OSC 2.3+ How To To see what more i can do for you check out my profile [click here] Link to comment Share on other sites More sharing options...
LeonN Posted March 15, 2007 Share Posted March 15, 2007 In the stylesheet use simple css defines for the css buttons, if you want effects use background images. Do not use css button spesific effects in the stylesheet, they will not always work with the form buttons and will cause differnt looks in different browsers. Thanks Nick! :thumbsup: By any chance do you know why the text In the form-buttons (i.e Buy Now-button or Reveiw-button) does not place Itself dead-center of the button (like the text In the Login-button or Search-button does)? The text In the form-buttons seem to hover towards the top of the button for some reason.... Thanks again :thumbsup: Quote Link to comment Share on other sites More sharing options...
mxreader Posted March 19, 2007 Share Posted March 19, 2007 I've installed this contribution too. And I am wondering exactly the same thing as Leon. I'm going to see what code differences there are that may give a clue while waiting for a reply here. Cheers. Quote Link to comment Share on other sites More sharing options...
♥toyicebear Posted March 19, 2007 Author Share Posted March 19, 2007 I've installed this contribution too. And I am wondering exactly the same thing as Leon. I'm going to see what code differences there are that may give a clue while waiting for a reply here. Cheers. Just compare the files in the BDP with unmodifyed oscommerce files using a file compare program and you will imideately be able to spot the differences/mods. Quote Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce - Commercial Support Inquiries - OSC 2.3+ How To To see what more i can do for you check out my profile [click here] Link to comment Share on other sites More sharing options...
captfc Posted March 19, 2007 Share Posted March 19, 2007 Hi... Sorry...but i do not have access to Safari But it seems to work fine in bothe IE and Firefox. If you're interested in seeing how it looks in different browsers, try BrowserCamp http://www.browsrcamp.com/ Quote Link to comment Share on other sites More sharing options...
MagickWomyn Posted March 20, 2007 Share Posted March 20, 2007 I'm using BDP with CSS Buttons. Can someone tell me how I can make the buttons rounded? Thanks! Quote Link to comment Share on other sites More sharing options...
♥toyicebear Posted March 20, 2007 Author Share Posted March 20, 2007 I'm using BDP with CSS Buttons. Can someone tell me how I can make the buttons rounded? Thanks! You can use grahical backgrounds for tips and tutorials google for css tutorials and css buttons Quote Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce - Commercial Support Inquiries - OSC 2.3+ How To To see what more i can do for you check out my profile [click here] Link to comment Share on other sites More sharing options...
mxreader Posted March 21, 2007 Share Posted March 21, 2007 Just compare the files in the BDP with unmodifyed oscommerce files using a file compare program and you will imideately be able to spot the differences/mods. I decided to narrow it down a bit and chose one particular page that displays buttons with texts not aligned. It was the shopping_cart.php Here the buttons "update cart" "continue shopping" and "checkout" is displayed. The update cart text is the one not aligned properly, it was a little lower. The code comparisons reveal no differences.... nothing I can tell although my html isn't good. So I thought to check the browsers and sure enough IE shows them all aligned, but firefox doesnt. On the main page, "Add to Cart" is the same on both browsers... all a little higher than should be. So I am stumped. Can anyone help? Quote Link to comment Share on other sites More sharing options...
♥toyicebear Posted March 21, 2007 Author Share Posted March 21, 2007 I decided to narrow it down a bit and chose one particular page that displays buttons with texts not aligned. It was the shopping_cart.php Here the buttons "update cart" "continue shopping" and "checkout" is displayed. The update cart text is the one not aligned properly, it was a little lower. The code comparisons reveal no differences.... nothing I can tell although my html isn't good. So I thought to check the browsers and sure enough IE shows them all aligned, but firefox doesnt. On the main page, "Add to Cart" is the same on both browsers... all a little higher than should be. So I am stumped. Can anyone help? Its due to the differnece in rendering between link buttons and form buttons. You can do further adjusting in eighter stylesheet.css or in the css buttons part of includes/functions/html_output.php the css buttons used is css buttons everywhere , it is in the contributions section as a separate contrib and also have its own support tread. Quote Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce - Commercial Support Inquiries - OSC 2.3+ How To To see what more i can do for you check out my profile [click here] Link to comment Share on other sites More sharing options...
mxreader Posted March 26, 2007 Share Posted March 26, 2007 Its due to the differnece in rendering between link buttons and form buttons. You can do further adjusting in eighter stylesheet.css or in the css buttons part of includes/functions/html_output.php the css buttons used is css buttons everywhere , it is in the contributions section as a separate contrib and also have its own support tread. I've read through all this thread and also the support forum for cssbutton everywhere. Here is what I've found: I came across at least 2 websites of folks using this contrib with the problem... but they don't seem to know it, or perhaps its low on priority. So I am assuming that everyone has this problem and the CSSbutton anywhere part of this contribution will need much tweaking or.... bug fixing. The CSSbutton anywhere support forum is not actively supported recently it seem, early in its first page a person with more knowledge than he lets on comes on and asked some very pertinent questions but does not elaborate. The clue is in the <DIV> and <SPAN> tags. Simply changing the tags in the html output file is not enough. I think the CSS needs changing too. Can you help with this? Quote Link to comment Share on other sites More sharing options...
♥toyicebear Posted March 26, 2007 Author Share Posted March 26, 2007 I've read through all this thread and also the support forum for cssbutton everywhere. Here is what I've found:I came across at least 2 websites of folks using this contrib with the problem... but they don't seem to know it, or perhaps its low on priority. So I am assuming that everyone has this problem and the CSSbutton anywhere part of this contribution will need much tweaking or.... bug fixing. The CSSbutton anywhere support forum is not actively supported recently it seem, early in its first page a person with more knowledge than he lets on comes on and asked some very pertinent questions but does not elaborate. The clue is in the <DIV> and <SPAN> tags. Simply changing the tags in the html output file is not enough. I think the CSS needs changing too. Can you help with this? I suggest googeling for tutorials on css and css buttons Quote Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce - Commercial Support Inquiries - OSC 2.3+ How To To see what more i can do for you check out my profile [click here] Link to comment Share on other sites More sharing options...
royalflush Posted March 28, 2007 Share Posted March 28, 2007 the basic design template did center everything...but what if i want to change the size? may i know how to do it? beside from the main box, i also would like to change the size of the info box likes categories and etc. i have 0 knowledge on PHP, and is learning now....it's hard for me to spot where to edit~ anyone could help? thanks Quote Link to comment Share on other sites More sharing options...
ron1445 Posted March 28, 2007 Share Posted March 28, 2007 the basic design template did center everything...but what if i want to change the size? may i know how to do it?beside from the main box, i also would like to change the size of the info box likes categories and etc. i have 0 knowledge on PHP, and is learning now....it's hard for me to spot where to edit~ anyone could help? thanks in stylesheets.css, look for .fixcenter, where you can change the width an height of the main area. for catagories, look for .CategoriesBox (also in stylesheets.css) and change the size in there. i don't think you really need to know PHP for these type of changes, just a reasonable knowledge of CSS and HTML is sufficient most of the time. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.