fabian2005 Posted October 22, 2008 Posted October 22, 2008 How To change oscommerce name in internet explorer title, and replace with owner store name Can some please answer this question, I have read many threads and never gotten the answer for this question
suerly Posted October 22, 2008 Posted October 22, 2008 It's the first question answered in the 'how do I' section Fabian 1. … Change the OsCommerce in the Title? Log into the admin then go to Configuration > My Store and edit Store Name
fabian2005 Posted October 22, 2008 Author Posted October 22, 2008 I have done my store configuration but still oscommerce appears as my title on internet explorer
JipeTrade Posted October 23, 2008 Posted October 23, 2008 I have done my store configuration but still oscommerce appears as my title on internet explorer Did you try clearing your cache? Running oscommerce-2.2ms2-060817
germ Posted October 23, 2008 Posted October 23, 2008 /includes/languages/english.php // page title define('TITLE', '[b][color="#FF0000"]Put Your Store Name Here[/color][/b]'); If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
fabian2005 Posted October 23, 2008 Author Posted October 23, 2008 /includes/languages/english.php // page title define('TITLE', '[b][color="#FF0000"]Put Your Store Name Here[/color][/b]'); I did as you said and i found the following error Parse error: syntax error, unexpected T_STRING in /store/includes/languages/english.php on line 79
fabian2005 Posted October 23, 2008 Author Posted October 23, 2008 here's the php file line 1-85 <?php /* $Id: english.php,v 1.114 2003/07/09 18:13:39 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com 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.ISO_8859-1'); 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', 'USD'); // 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', 'Urban Appearance'); // 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> ');
germ Posted October 23, 2008 Posted October 23, 2008 You screwed it up because you're still using the osC File Mangler Manager, which I told you in another thread to stop using. <_< It changed more than you planned on and now you're paying the price. :o Restore the file from a backup and edit it the correct way this time. :huh: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
fabian2005 Posted October 23, 2008 Author Posted October 23, 2008 my mad but i use note pad, i was looking for that thread i remember, may i ask again please what should i use to edit
spooks Posted October 23, 2008 Posted October 23, 2008 I recommend HTML KIT http://www.chami.com/html-kit Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al.
fabian2005 Posted October 23, 2008 Author Posted October 23, 2008 here i did as you said, and spooks thanks for the Html kit, i copyed line 1 - 79 <?php /* $Id: english.php,v 1.114 2003/07/09 18:13:39 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com 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.ISO_8859-1'); 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', 'USD'); // 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', 'Urban Appearance'); // 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?');
fabian2005 Posted October 24, 2008 Author Posted October 24, 2008 people don't forget me, i am in desperate need of help, i can't view my website, due to this problem, can someone please tell me whats wrong with the code above,
yesitshere Posted November 27, 2008 Posted November 27, 2008 people don't forget me, i am in desperate need of help, i can't view my website, due to this problem, can someone please tell me whats wrong with the code above, It is not always possible to see by just viewing 1 files, as its sometimes the global picture. Why dont you restore the original index file? If you dont have backups from the various steps you undertoke that got you into the mud, i suggest reinstalling from new and backing up every step of the way. The way i do is name them something like: 26nov08 after birthdate change 27nov08 module update and so on, so that the files are automatically placed in chronological order. TIP: after your title you place about 150 spaces, so that you dont see in the browser your store name internet explorer.
Guest Posted November 27, 2008 Posted November 27, 2008 people don't forget me, i am in desperate need of help, i can't view my website, due to this problem, can someone please tell me whats wrong with the code above, define('BOX_HEADING_WHATS_NEW', 'What's New?'); should be define('BOX_HEADING_WHATS_NEW', 'What\'s New?'); but I hope you found the solution prior to this post.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.