-
AuthorPosts
-
October 5, 2011 at 7:33 pm #169345
Is possible change date (no am-pm) and the word “last update”?. Because the web site is italian. joomla 1.5!
pavit Moderator
pavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
October 5, 2011 at 7:41 pm #417111Salve
Sicuramente si puo fare, provi nella sua dir language
October 5, 2011 at 8:25 pm #417120niente da fare, nella directory è tutto ok..
pavit Moderator
pavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
October 5, 2011 at 8:30 pm #417121Salve
Allora
Per il last update vada nel file /templates/ja_telineIV/blocks/topbar.php alla riga 24 lei ha
<p class="ja-updatetime"><span><?php echo JText::_('Last update')?></span><em><?php echo T3Common::getLastUpdate(); ?></em></p>
puo modificare il codice in rosso con un messaggio in italianosempre nello stesso file topbar.php al di sopra lei attualmente ha
<p class="ja-day clearfix">
<?php
echo "<span class="day">".JText::_(strtoupper(date ('D')))."</span>";
echo "<span class="month">".date ('m')."</span>";
echo "<span class="date">".date ('d')."</span>";
echo "<span class="year">".date ('Y')."</span>";
?>
</p>
modifichi questa parte di codice in
<p class="ja-day clearfix">
<?php
echo "<span class="day">".date ('D')."</span>";
echo "<span class="date">".date ('d')."</span>";
echo "<span class="month">".date ('m')."</span>";
echo "<span class="year">".date ('Y')."</span>";
?>
</p>In questo modo avrà la data mostrata come GG/MM/AA e non MM/GG/AA
per quanto riguarda il PM dopo Last update vada nel file administrator/language/en-GB/en-GB.plg_system_jat3.ini alla riga 5 lei ha
T3_DATE_FORMAT_LASTUPDATE=%I:%M:%S %p
lo modifichi inT3_DATE_FORMAT_LASTUPDATE=%I:%M:%SSpero di esserle stato di aiuto
October 5, 2011 at 9:09 pm #417124è cambiato il formato della data, ma mi è tornato il giorno in inglese, mentre la data mi rimane uguale
Il sito è http://www.oggimilazzo.itpavit Moderator
pavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
October 5, 2011 at 9:18 pm #417125pavit Moderator
pavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
October 5, 2011 at 9:29 pm #417126Ok ora ho notato anche io
Faccia cosi nel file topbar.php lei ora ha
echo "<span class="day">".date ('D')."</span>";lo rimetta come prima
echo "<span class="day">".JText::_(strtoupper(date ('D')))."</span>";1 user says Thank You to pavit for this useful post
October 5, 2011 at 10:17 pm #417132ok per il giorno!! grazie ancora, ma resta il problema dell’ora formato 24h, in questo momento ad esempio ho inserito un articolo alle 23.15 ma mi esce ultimo aggiornamento alle 11.15.
Grazie, siete molto rapidi e professionali
pavit Moderator
pavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
October 6, 2011 at 5:52 pm #417334Salve
Per il formato data 24h vada nel file administrator/language/en-GB/en-GB.plg_system_jat3.ini alla riga 5
T3_DATE_FORMAT_LASTUPDATE=%I:%M:%SSostituisca I con H
T3_DATE_FORMAT_LASTUPDATE=%H:%M:%SSalvi il file e faccia un refresh della cache
AuthorPostsViewing 9 posts - 1 through 9 (of 9 total)This topic contains 9 replies, has 2 voices, and was last updated by
pavit 13 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
change timezone for clock watch
Viewing 9 posts - 1 through 9 (of 9 total)
