Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • magimax Friend
    #169495

    Hi!

    I have a problem with the last update date: the day names are in English but the language of the site has been set to Italian.
    In particular, on the top menu I see “Saturday 09 Oct” while I should see “Domenica 9 Ott” (italian translation).
    Can you help ?

    Thanks in advance

    pavit Moderator
    #418041

    Salve

    per il last update vada in templates/ja_social/blocks/topbar.php

    lei ora dovrebbe avere questo codice

    <p class="ja-updatetime"><span><?php echo JText::_('Last update')?></span><em><?php echo T3Common::getLastUpdate(); ?></em></p>

    modifichi la scritta in rosso

    Per il problema della data sempre nello stesso file topbar.php lei attualmente ha

    <p class="ja-day">
    <?php
    echo "<span class="day">".JText::_(strtoupper(date ('l')))."</span>";
    echo "<span class="date">, ".date ('m')." ".date ('d').date ('S')."</span>";
    ?>
    </p>

    lo modifichi in

    <?php
    $app =& JFactory::getApplication();
    $date = JFactory::getDate();
    $date->setOffset($app->getCfg('offset'));
    echo $date->toFormat('<span class="ja-day">%A</span><span class="date">%d %B %Y</span>');
    ?>

    magimax Friend
    #418052

    Grazie!
    Il problema delle date di aggiornamento รจ ora risolto!

    Grazie ancora dell’aiuto!:)

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 2 voices, and was last updated by  magimax 13 years, 1 month ago.

We moved to new unified forum. Please post all new support queries in our New Forum