-
AuthorPosts
-
July 19, 2011 at 1:04 pm #166459
Hi all
I am having trouble with those two functions on Teline iii v2
First of all I would like to translate date in italian. I have correctly installed italian language files and they work overall the Joola installation. I mean that I would like to have displayed “Giovedì, 19 Luglio” instead of “Tuesday, Jul 19th”
Second. I sorted out to translate “Last update” into /templates/ja_teline_iii_v2/blocks/header.php but was not lucky with the time too. Here are the problems:
1. Time doesn’t always change when I create new articles.
2. The last time it did, the time displayed was completely wrong. It is completely different from server time and from Joomla time. I tried to change timezone in this file:
/plugins/system/jat3/core/common.php but had no luck3. The article time is correct
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
July 26, 2011 at 2:52 am #403010Hi saraci
Could you provide me admin & ftp account of your site via ticket http://support.joomlart.com/index.php?/Tickets/Ticket/View/76937?
asifak Friendasifak
- Join date:
- November 2010
- Posts:
- 172
- Downloads:
- 1
- Uploads:
- 19
- Thanks:
- 46
- Thanked:
- 2 times in 1 posts
August 20, 2011 at 4:35 am #407196I have the same problem, so i disabled it.
August 20, 2011 at 8:15 pm #407341<em>@asifak 260982 wrote:</em><blockquote>I have the same problem, so i disabled it.</blockquote>
Me to I did but you should agree with me that this is not a solution…..asifak Friendasifak
- Join date:
- November 2010
- Posts:
- 172
- Downloads:
- 1
- Uploads:
- 19
- Thanks:
- 46
- Thanked:
- 2 times in 1 posts
August 22, 2011 at 7:01 am #407580I agree but in any case I will not enable this function for the time being because I donot want to confuse my reader that when last update was made. If update was even three days back then user may not be interested.
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
August 22, 2011 at 8:21 am #407593Hi saraci
1. You should change this block code in file /plugins/system/jat3/core/common.php
<p class="ja-day">
....
</p>
by block code
<p class="ja-day">
<?php
$app = &JFactory::getApplication();
$date = JFactory::getDate('now', $app->getCfg('offset'));
echo "<span class="day">".$date->toFormat('%a')."</span>";
echo "<span class="date">, ".$date->toFormat ('%b')." ".$date->toFormat('%d')."</span>";
?>
</p>
2. When you create a new article, you should clear T3 cache, the time will change.
You should access to admin site => Global Configuration => Server tab => change Time zone in Locale Settings session.
-
AuthorPosts
This topic contains 7 replies, has 4 voices, and was last updated by shidinar 13 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum