Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • alioztr Friend
    #162378

    My website shows in top with : month – Day – Year

    and how can change with Turkish language

    thanks

    fguyon Friend
    #384952

    First in the file templatesja_teline_ivblockstopbar.php change the lines

    <p class=”ja-day clearfix”>
    <?php
    echo “<span class=”day”>”.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>

    To :

    <p class=”ja-day clearfix”>
    <?php
    echo “<span class=”day”>”.date (‘D’).”</span>”;
    echo “<span class=”month”>”.date (‘d’).”</span>”;
    echo “<span class=”date”>”.date (‘m’).”</span>”;
    echo “<span class=”year”>”.date (‘Y’).”</span>”;
    ?>
    </p>

    and then, if you still have the short day in GB language (on year mouseover), so go to the code :

    echo “<span class=”day”>”.date (‘D’).”</span>”;

    and change it to :

    echo “<span class=”day”>”.JText::_(date (‘D’)).”</span>”;

    (That’s the problem I had and solved with this forum help (thanks to dathq))
    http://www.joomlart.com/forums/topic/mon-instead-of-lun-in-date/

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

This topic contains 2 replies, has 2 voices, and was last updated by  fguyon 13 years, 7 months ago.

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