-
AuthorPosts
-
webjwn Friend
webjwn
- Join date:
- March 2011
- Posts:
- 161
- Downloads:
- 94
- Uploads:
- 48
- Thanks:
- 51
- Thanked:
- 5 times in 2 posts
May 27, 2011 at 7:59 pm #164532In solving another issue, I had help from the support rep in updating the T3 architecture, but now I have this error at the top of the site;
T3_DATE_FORMAT_LASTUPDATE
How can I fix this to show the date again?
Cheers
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
May 28, 2011 at 3:41 am #393296Hi,
You try replace this code from templatesja_teline_ivblockstopbar.php file
echo T3Common::getLastUpdate();
with
echo JHTML::date('now', 'h:i:s A', true).' GMT';
mayuri_g Friendmayuri_g
- Join date:
- May 2011
- Posts:
- 107
- Downloads:
- 0
- Uploads:
- 5
- Thanked:
- 10 times in 11 posts
May 31, 2011 at 8:57 am #393817Replace the below code from pluginssystemjat3corecommon.php file
$date =& JFactory::getDate(strtotime($data->created));
$user =& JFactory::getUser();
$tz = $config->get(‘offset’);$sec =$date->toUNIX(); //set the date time to second
return gmdate(“h:i:s A”, $sec).’ GMT’;with the code
return JHTML::date($data->created, “%H:%M:%S”);
if if it working fine, let us know.
webjwn Friendwebjwn
- Join date:
- March 2011
- Posts:
- 161
- Downloads:
- 94
- Uploads:
- 48
- Thanks:
- 51
- Thanked:
- 5 times in 2 posts
May 31, 2011 at 5:22 pm #393938Hello
I have replaced the code suggested however it just removes the ‘last update’ bar. I reverted back to the original code, but the bar still remains hidden. Not sure what happened.
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
May 31, 2011 at 5:55 pm #393954<em>@webjwn 243940 wrote:</em><blockquote>Hello
I have replaced the code suggested however it just removes the ‘last update’ bar. I reverted back to the original code, but the bar still remains hidden. Not sure what happened.</blockquote>
Could you give me username+password of ftp and a link to your website?
mayuri_g Friendmayuri_g
- Join date:
- May 2011
- Posts:
- 107
- Downloads:
- 0
- Uploads:
- 5
- Thanked:
- 10 times in 11 posts
June 1, 2011 at 6:39 am #394016try this code in pluginssystemjat3corecommon.php file
$db = &JFactory::getDBO();
$query = ‘SELECT created FROM #__content a ORDER BY created DESC LIMIT 1’;
$db->setQuery($query);
$data = $db->loadObject();
if( $data->created ){ //return gmdate( ‘h:i:s A’, strtotime($data->created) ) .’ GMT ‘;
$date =& JFactory::getDate(strtotime($data->created));
$user =& JFactory::getUser();
$tz = $user->getParam(‘timezone’);
$sec =$date->toUNIX(); //set the date time to second
return gmdate(“h:i:s A”, $sec+$tz).’ GMT’;
}
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
June 3, 2011 at 5:10 pm #394548Sorry about late response. I received your information of ftp. But I can’t access your site by ftp. Could you check and send it again, please? Thanks
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
June 8, 2011 at 10:07 am #395243Hi,
I can’t still access your website by ftp. So I use another way to support to you. I need to view content of pluginssystemjat3corecommon.php and templatesja_teline_ivblockstopbar.php. So could you give me them?AuthorPostsViewing 8 posts - 1 through 8 (of 8 total)This topic contains 8 replies, has 3 voices, and was last updated by khoand 13 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Last Update Eror
Viewing 8 posts - 1 through 8 (of 8 total)