LadyBubs Posted September 29, 2006 Posted September 29, 2006 I am totally new to osCommerece and finding simple things very hard to do. How do I change site title from osCommerece to my Store?
Guest Posted September 29, 2006 Posted September 29, 2006 If you mean that you want to change the image in the header to your own image, then that can be done in header.php, or by creating your own image and calling it oscommerce.gif and replacing the original image. The first option is preferred. If you are talking about the name that appears at the very top of the page, you change that by correcting the details of the store in admin/my store.
Guest Posted September 29, 2006 Posted September 29, 2006 In includes/languages/english.php define('TITLE', 'osCommerce'); The_Bear
LadyBubs Posted September 30, 2006 Author Posted September 30, 2006 In includes/languages/english.php define('TITLE', 'osCommerce'); The_Bear I am referring to the info that is displayed on the tab in Firefox that says osCommerce-forums when you are here this is the code that displays when I view source code on home page I want to change red text <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html dir="LTR" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>osCommerce</title>
Guest Posted September 30, 2006 Posted September 30, 2006 In includes/header.php <?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; The_Bear
natewlew Posted September 30, 2006 Posted September 30, 2006 I thought you changed that in the admin section. Configuration>My Store>Store Name Other great Open Source (Free) programs: (Free as in free speech not free beer) The Gimp - An image program. | Firefox - All you have to do is add the Web Developer add-on to make this web browser complete. | FileZilla - An ftp program. | Inkscape - A good program to create images with. | Thunderbird - An email program. | Openoffice.org - An office suite that is compatible with MS Office. | Abiword - Another office suite. | Audacity - A sound recording tool. | ddp's Picks | Wordpress - An easy to use blogging software. | Joomla - An easy to use CMS that has ecommerce plug-ins. | Drupal - Another CMS How do I find these programs? Google Search!
ddp Posted September 30, 2006 Posted September 30, 2006 I am referring to the info that is displayed on the tab in Firefox that says osCommerce-forums when you are here this is the code that displays when I view source code on home page I want to change red text <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html dir="LTR" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>osCommerce</title> You do this by changing the includes/languages/english.php the first post of the bear was right. define('TITLE', 'osCommerce'); just change osCommerce to what ever you want. Backup before making changes. Backup before making changes! Backup before making changes!! You did do a backup? eh?
ddp Posted September 30, 2006 Posted September 30, 2006 I thought you changed that in the admin section. Configuration>My Store>Store Name No it is done as described in the previous post. Backup before making changes. Backup before making changes! Backup before making changes!! You did do a backup? eh?
LadyBubs Posted September 30, 2006 Author Posted September 30, 2006 No it is done as described in the previous post. I did that this is what my file says: <?php /* $Id: english.php,v 1.106 2003/06/20 00:18:31 hpdl 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.. // on RedHat6.0 I used 'en_US' // on FreeBSD 4.0 I use 'en_US.ISO_8859-1' // this may not work under win32 environments.. 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('PHP_DATE_TIME_FORMAT', 'm/d/Y H:i:s'); // 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); } } // 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', 'TNT Test Store'); in the admin/includes/languages/english.php and it still will not change
ddp Posted September 30, 2006 Posted September 30, 2006 No you changed the wrong file. you changed: admin/includes/languages/english.php you should have changed: includes/languages/english.php Backup before making changes. Backup before making changes! Backup before making changes!! You did do a backup? eh?
LadyBubs Posted September 30, 2006 Author Posted September 30, 2006 :o I feel stupid now I got it thanks.Will try to get this going
natewlew Posted October 1, 2006 Posted October 1, 2006 No it is done as described in the previous post. I don't know if each OSC is different but this i my /includes/languages/english.php: // page titledefine('TITLE', STORE_NAME); You can change the store name in Configuration>My Store>Store Name Other great Open Source (Free) programs: (Free as in free speech not free beer) The Gimp - An image program. | Firefox - All you have to do is add the Web Developer add-on to make this web browser complete. | FileZilla - An ftp program. | Inkscape - A good program to create images with. | Thunderbird - An email program. | Openoffice.org - An office suite that is compatible with MS Office. | Abiword - Another office suite. | Audacity - A sound recording tool. | ddp's Picks | Wordpress - An easy to use blogging software. | Joomla - An easy to use CMS that has ecommerce plug-ins. | Drupal - Another CMS How do I find these programs? Google Search!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.