marcos88 Posted January 16, 2006 Posted January 16, 2006 :blush: How to rename the title name in the information box ? Example: default was "conditions of use" changes to "terms & conditions". i went to the information.php in the include\boxes, i find no clue from there. i know that \includes\languages\english\conditions.php is to change the content of condition. How about rename the title name in the information box. :blink: Does anyone also know about setting the date and time which display on the main page ? Please help me out, i am really totally new to oscommerce. Thanks, :thumbsup:
stevennickelby Posted January 16, 2006 Posted January 16, 2006 You should find the answer in Catalog/includes/languages/english.php... ..the text comes from this page.
marcos88 Posted January 16, 2006 Author Posted January 16, 2006 You should find the answer in Catalog/includes/languages/english.php... ..the text comes from this page. no. i never came across. i almost finish looking the entire file. Can you be more specific. Thanks. i really cannot find. Pls help me out.
wheeloftime Posted January 16, 2006 Posted January 16, 2006 :blush: How to rename the title name in the information box ? Example: default was "conditions of use" changes to "terms & conditions". i went to the information.php in the include\boxes, i find no clue from there. i know that \includes\languages\english\conditions.php is to change the content of condition. How about rename the title name in the information box. :blink: Does anyone also know about setting the date and time which display on the main page ? Please help me out, i am really totally new to oscommerce. Thanks, :thumbsup: you were on the right spot for ie. changes to the conditions page. At the top of the language file (\includes\languages\english\conditions.php) there is define('NAVBAR_TITLE', 'Conditions of Use');define('HEADING_TITLE', 'Conditions of Use'); which you can change just as the define('TEXT_INFORMATION', 'conditions, what conditions ?!'); The date/time setting you can change with the includes/languages/english.php where you find 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); } }
cyberguypr Posted January 17, 2006 Posted January 17, 2006 However this doesn't change the wording in the Infobox. Any idea how to do that? you were on the right spot for ie. changes to the conditions page. At the top of the language file (\includes\languages\english\conditions.php) there is which you can change just as the The date/time setting you can change with the includes/languages/english.php where you find 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); } }
wheeloftime Posted January 17, 2006 Posted January 17, 2006 However this doesn't change the wording in the Infobox. Any idea how to do that? What wording in which infobox are you refering to ?
marcos88 Posted January 17, 2006 Author Posted January 17, 2006 Does anyone know how to add 14 hours inside the code below which can be found in includes\languages\english.php so that the timing is what i want in the website. Or am i refering to wrong code ? 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); } }
Recommended Posts
Archived
This topic is now archived and is closed to further replies.