-
AuthorPosts
-
seaneo Friend
seaneo
- Join date:
- December 2009
- Posts:
- 421
- Downloads:
- 4
- Uploads:
- 49
- Thanks:
- 244
- Thanked:
- 12 times in 1 posts
July 29, 2015 at 12:17 pm #640361Hello,
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 Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
seaneo Friendseaneo
- Join date:
- December 2009
- Posts:
- 421
- Downloads:
- 4
- Uploads:
- 49
- Thanks:
- 244
- Thanked:
- 12 times in 1 posts
July 29, 2015 at 1:42 pm #645274Thanks 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 Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
July 29, 2015 at 2:12 pm #645276Hi 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 Vuseaneo Friendseaneo
- Join date:
- December 2009
- Posts:
- 421
- Downloads:
- 4
- Uploads:
- 49
- Thanks:
- 244
- Thanked:
- 12 times in 1 posts
July 29, 2015 at 2:32 pm #645277Hi 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 Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
July 29, 2015 at 2:40 pm #645278Hi there
Which view you want to work on ? categories or article ?Thank you,
Viet Vujooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
July 29, 2015 at 2:40 pm #743901Hi there
Which view you want to work on ? categories or article ?Thank you,
Viet Vuseaneo Friendseaneo
- Join date:
- December 2009
- Posts:
- 421
- Downloads:
- 4
- Uploads:
- 49
- Thanks:
- 244
- Thanked:
- 12 times in 1 posts
July 29, 2015 at 2:58 pm #645279just 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 Friendseaneo
- Join date:
- December 2009
- Posts:
- 421
- Downloads:
- 4
- Uploads:
- 49
- Thanks:
- 244
- Thanked:
- 12 times in 1 posts
July 29, 2015 at 2:58 pm #743902just 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 Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
July 29, 2015 at 3:07 pm #645280Hi 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 Vujooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
July 29, 2015 at 3:07 pm #743903Hi 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 Vuseaneo Friendseaneo
- Join date:
- December 2009
- Posts:
- 421
- Downloads:
- 4
- Uploads:
- 49
- Thanks:
- 244
- Thanked:
- 12 times in 1 posts
July 30, 2015 at 2:47 pm #645376Hi 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.phpI tred to understand what that was all about but couldnt, sorry Im not a programmer:):(
Many thanks,
seaneo Friendseaneo
- Join date:
- December 2009
- Posts:
- 421
- Downloads:
- 4
- Uploads:
- 49
- Thanks:
- 244
- Thanked:
- 12 times in 1 posts
July 30, 2015 at 2:47 pm #743997Hi 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.phpI tred to understand what that was all about but couldnt, sorry Im not a programmer:):(
Many thanks,
-
AuthorPosts
This topic contains 24 replies, has 2 voices, and was last updated by seaneo 9 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum