How to change datetime_system email time

Please find and discuss FAQs and JS/PHP samples here

How to change datetime_system email time

Postby ismadman » Thu Mar 03, 2011 2:49 pm

Installed smartformer to see what its like in view to purchase gold.
I like what I see . But for what i'm doing I need to get the correct email time when it is filled out sent with the emails.

Let me explain ...

My Server is in the US . I am on a shared host so I can't change my server time which is 16 hours behind me. I reside in Australia and my site times all need to be in aus time .

Smartformer is obviously reading the server time instead of the time I have set in my site ( Joomla config offset etc )

My sites times are fine and correct . Everything is displaying as GMT+10
(and UTC ) So I am confused as to why this Component needs to read of the server time and not the time in the joomla config?

Can someone point me to the file and the edit to add 16 hours to the email time please?

I sent 8 test mails trying to work it out
( even set env in htaccess and in a webroot php.ini file but its not working )
but all mails with
Code: Select all
{datetime_system:Date/time (system)}
in it showed 16 hours behind .

Is this possible to add + 16 to this maybe?

Code: Select all
        $this->_database->setQuery( 'select now()' );
       $datetime = $this->_database->loadResult();
      $pos=strpos($email_msg,'{datetime_system:');


I have read the usersguide and watched the vid and searched here but I can't find anywhere to show Email ( Form Submit ) time to be altered for the joomla offset to UTC .

Longwinded but I thought i'd explain as good as i can
If anyone can guide me i'd be grateful
:D
ismadman
 
Posts: 2
Joined: Thu Mar 03, 2011 2:22 pm

Still

Postby ismadman » Sat Mar 19, 2011 11:53 pm

Still have this problem. I need to insert the datetime in. Can anyone tell me what i need to change?
ismadman
 
Posts: 2
Joined: Thu Mar 03, 2011 2:22 pm

Re: How to change datetime_system email time

Postby IToris team » Thu Nov 10, 2011 4:23 pm

Hello,

Please check this topic.

IToris Team
IToris team
Site Admin
 
Posts: 1686
Joined: Mon Jan 19, 2009 12:33 pm


Return to Smart Former

Who is online

Users browsing this forum: No registered users and 1 guest

cron