test
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • wineblue2 Friend
    #170799

    I have been searching through your documentation on the JA_Social template looking for an instruction on how and where we need to edit the format of the Date/Time Display of the template but not having any luck in locating this. Would someone kindly tell me where I can find this information so that we can effect these changes?

    pavit Moderator
    #425082

    Hi wineblue2

    The date is in the topbar.php file in templates/ja_social/blocks folder

    What you want change ? maybe i can help you

    wineblue2 Friend
    #425089

    Thank you. If you will look at http://muzocial.com you will notice that the Date displayed is not in a proper format and what I would like to see is the Day, Month, Date being displayed as: Thursday, November, 12th

    I am not a php programmer so I could use some instruction as to what I need to edit in this php file in order to achieve this display.:)

    pavit Moderator
    #425091

    To show your date in this way make these changes to the topbar.php
    Find this line of code

    <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>";
    ?>

    change the character m to F so the new code will be

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

    Save the file and refresh your frontend page

    wineblue2 Friend
    #425113

    That did the trick! Thank You!

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

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

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