chrometweaks.org

Help with shipping info! for iPage.com?!?

Click Here To View All Answers...


My question is Help with shipping info! for iPage.com?!? Looking forward for any answer or 2. My 2nd question... Hi all how can I change this sintance :.

This product was added to our catalog on Friday 27 February, 2004..

To this.

This product was added to our catalog on Friday 27 - 2 - 2004..

From words to numbers in hole site.

The second question is how can I change the iPage site date from mm/dd/yy to dd/mm/yy.

Thanks alot..

Comments (48)

I'm stumped. I'm not so sure what is the answer to that question. I'll do some research and get back to you if I bump into an answer. You should email the people at iPage as they probably could assist you..

Comment #1

Hi this is ok with the second question.

But not for the first because I mean the product info page I want to change this DATE.

This product was added to our catalog on Friday 27 February, 2004.

So I search for this vareiable ( TEXT_DATE_ADDED ) but I did not find it..

Comment #2

You will find the date format in your english.php file. It should be close to the top of the file.

Look for:.

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

}.

}..

Comment #3

Oops!.

You will need to edit the product_info.php file to change this..

I should probably actually read the post before answering..

Comment #4

Hi all how can I change this sintance :.

This product was added to our catalog on Friday 27 February, 2004..

To this.

This product was added to our catalog on Friday 27 - 2 - 2004..

From words to numbers in hole site.

The second question is how can I change the iPage site date from mm/dd/yy to dd/mm/yy.

Thanks alot..

Comment #5

For PHP date display check out.

Http://www.devshed.c...ssing-with-PHP/.

To change in OSC edit -.

/catalog/includes/language/english.php (for english of course).

There are some options for different formats already there you will have to put what you want in the /catalog/includes/footer.php file...

Comment #6


This question was taken from a support group/message board and re-posted here so others can learn from it.