- Posts: 1
- Thank you received: 0
Download Free Exentions & Discussion
How to display the Hour in Latest News Timeline
- Rodolpho Keizo
-
Topic Author
- Offline
- Fresh Boarder
-
Less
More
8 years 5 months ago #8964
by Rodolpho Keizo
How to display the Hour in Latest News Timeline was created by Rodolpho Keizo
Dear all,
I'm using the free Latest News Timeline. Goo work ! Can you please help me to display the article publication hour in complement to the date ?
Thank you all.
I'm using the free Latest News Timeline. Goo work ! Can you please help me to display the article publication hour in complement to the date ?
Thank you all.
Please Log in or Create an account to join the conversation.
8 years 5 months ago #8965
by Kiên
Replied by Kiên on topic How to display the Hour in Latest News Timeline
Hello, thanks for using our module!
please change on code with path: root /modules/mod_jlatest_timeline/tmpl/ default_ajax.php line 18
replace:
with:
please change on code with path: root /modules/mod_jlatest_timeline/tmpl/ default_ajax.php line 18
replace:
Code:
<time class="item-time label label-info" datetime="<?php echo JHtml::_('date', $item->created, 'c'); ?>"><?php echo JHtml::_('date', $item->created, JText::_($params->get('show_date_format', 'DATE_FORMAT_LC3'))) ;?>
</time>
Code:
<time class="item-time label label-info" datetime="<?php echo JHtml::_('date', $item->publish_up, 'c'); ?>"><?php echo JHtml::_('date', $item->publish_up, JText::_($params->get('show_date_format', 'DATE_FORMAT_LC3'))) ;?>
</time>
Please Log in or Create an account to join the conversation.
Time to create page: 0.193 seconds