osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Change language in counter

This is a discussion on Change language in counter within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hi, where can I change the language for the days and months in the counter?...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 05-02-2004, 08:08 AM
New Member
 
Join Date: Apr 2004
Posts: 20
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
Lord
Default Change language in counter

Hi,
where can I change the language for the days and months in the counter?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 05-03-2004, 09:17 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,808
Thanks: 5
Thanked 105 Times in 91 Posts
Rep Power: 12
jpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to all
Default

Counter? What counter did you add? Mod?

Maybe you thinking of the banner stats?

Try modifying : include/language/<your language>/banner_statistics.php


Good Luck
__________________
JPF - osCMax Fourm Moderator
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 05-03-2004, 01:14 PM
New Member
 
Join Date: Apr 2004
Posts: 20
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
Lord
Default

Hi jpf
Thank's for answering.

I run Osc2.2 ms2. It's not a mod or banner.

It's the counter in the footer that count xx hits since installation date.
Checked the table counter and counter history in db, but can't find anything to change.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 05-04-2004, 07:48 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,808
Thanks: 5
Thanked 105 Times in 91 Posts
Rep Power: 12
jpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to all
Default

You mean you want to chage the 'Requests since' text....Try your language files

In include/language/<all_language>.php
(like english.php) look for and change:
define('FOOTER_TEXT_REQUESTS_SINCE', 'requests since');

If you want to change the DATE FORMAT then look in the SAME file:

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');


The footer uses: 'DATE_FORMAT_LONG'
the LANGUAGE used is set by 'setlocale' and the language set "en_US.ISO_8859-1" sets the "language_country.charaterset" and must be vaild (installed) for the server.
__________________
JPF - osCMax Fourm Moderator
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Removing Request To View Page Counter torweb osCMax v2 Features Discussion 2 05-16-2006 09:58 PM
Copyright and hits counter not showing on index page coastersteve osCMax v2 Installation issues 1 06-21-2005 08:12 AM
change the look - remove the currency and language box hmpf99 osCommerce 2.2 Modification Help 2 09-19-2004 06:59 AM
remove request since counter okatoma osCMax v1.7 General Mods Discussion 3 07-19-2004 07:54 AM
Reset counter and product accesses into database ZeroCool osCommerce 2.2 Modification Help 1 11-04-2003 01:23 PM


All times are GMT -8. The time now is 10:00 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax