test
Viewing 15 posts - 1 through 15 (of 24 total)
  • Author
    Posts
  • seaneo Friend
    #640361

    Hello,

    Is there a way to just change the date format to Month and Year only, in other words, not showing the day of the month?

    Example: June 2015

    Many thanks

    jooservices Friend
    #645270

    Hi there
    You can modify com_content layout .

    http://php.net/manual/en/function.date.php

    Thank you,
    Viet Vu

    seaneo Friend
    #645274

    Thanks Viet Vu,

    Bear with me please, which file is it called and which folder is it in?
    I use Filezilla to gain access.

    Are you sure this is not some setting somewhere in the backend?
    Or do I have to indeed make custom changes to code?

    Many thanks,

    jooservices Friend
    #645276

    Hi there
    It’s com_content layout. Depend on which view you want to work on it’ll different layout file.
    Please check JDocs for detail.

    Thank you,
    Viet Vu

    seaneo Friend
    #645277

    Hi Viet,

    Please note that I am not a programmer, just a guy that bought Joomlart membership and downloaded JA Teline V among other templates.

    I know how to make changes to any files using FileZilla.

    I just need to know what file to change and where to make the change.

    I am trying to keep this issue out of a support ticket, because usually changing a date format should be one of the easiest challenges that anybody should have to do.

    If you can please tell which files are involved , and where the files specifically are, I will make the change.

    Thank you

    jooservices Friend
    #645278

    Hi there
    Which view you want to work on ? categories or article ?

    Thank you,
    Viet Vu

    jooservices Friend
    #743901

    Hi there
    Which view you want to work on ? categories or article ?

    Thank you,
    Viet Vu

    seaneo Friend
    #645279

    just anywhere where the date appears, no matter what the view, any possible view…

    Instead of showing:

    Super User 29 July 2015

    I just want it to show:

    July 2015

    ..so can you please also tell me how to get rid of the text thats says “Super User”_

    Many thanks,

    seaneo Friend
    #743902

    just anywhere where the date appears, no matter what the view, any possible view…

    Instead of showing:

    Super User 29 July 2015

    I just want it to show:

    July 2015

    ..so can you please also tell me how to get rid of the text thats says “Super User”_

    Many thanks,

    jooservices Friend
    #645280

    Hi there
    For created date


    <dd class="create">
    <i class="fa fa-calendar"></i>
    <time datetime="<?php echo JHtml::_('date', $displayData['item']->created, 'c'); ?>" itemprop="dateCreated">
    <?php echo JText::sprintf('COM_CONTENT_CREATED_DATE_ON', JHtml::_('date', $displayData['item']->created, JText::_('DATE_FORMAT_LC3'))); ?>
    </time>
    </dd>

    templatesja_teline_vhtmllayoutsjoomlacontentinfo_blockcreate_date.php

    Or you can translate DATE_FORMAT_LC3 as your own format

    http://php.net/manual/en/function.date.php

    Thank you,
    Viet Vu

    jooservices Friend
    #743903

    Hi there
    For created date


    <dd class="create">
    <i class="fa fa-calendar"></i>
    <time datetime="<?php echo JHtml::_('date', $displayData['item']->created, 'c'); ?>" itemprop="dateCreated">
    <?php echo JText::sprintf('COM_CONTENT_CREATED_DATE_ON', JHtml::_('date', $displayData['item']->created, JText::_('DATE_FORMAT_LC3'))); ?>
    </time>
    </dd>

    templatesja_teline_vhtmllayoutsjoomlacontentinfo_blockcreate_date.php

    Or you can translate DATE_FORMAT_LC3 as your own format

    http://php.net/manual/en/function.date.php

    Thank you,
    Viet Vu

    seaneo Friend
    #645376

    Hi Viet,

    Thanks for pointing out the file and loction for the code.

    What changes do I make to that code inside of it so that instead of showing:

    Super User 29 July 2015

    is just says:

    July 2015

    Regarding:
    http://php.net/manual/en/function.date.php

    I tred to understand what that was all about but couldnt, sorry Im not a programmer:):(

    Many thanks,

    seaneo Friend
    #743997

    Hi Viet,

    Thanks for pointing out the file and loction for the code.

    What changes do I make to that code inside of it so that instead of showing:

    Super User 29 July 2015

    is just says:

    July 2015

    Regarding:
    http://php.net/manual/en/function.date.php

    I tred to understand what that was all about but couldnt, sorry Im not a programmer:):(

    Many thanks,

    seaneo Friend
    #647125

    checking in please, your reply would be greatly apprreciated, thank you

    seaneo Friend
    #744147

    checking in please, your reply would be greatly apprreciated, thank you

Viewing 15 posts - 1 through 15 (of 24 total)

This topic contains 24 replies, has 2 voices, and was last updated by  seaneo 9 years, 4 months ago.

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